Directory

grain-responsive-container - Vaadin Add-on Directory

(no summary available) grain-responsive-container - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/daKmoR/grain-responsive-container](https://github.com//daKmoR/grain-responsive-container/blob/v0.8.2/README.md) on 2019-05-10 ]** [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/daKmoR/grain-responsive-container) [![Polymer Version](https://img.shields.io/badge/polymer-v2-blue.svg)](https://www.polymer-project.org) # \ Allows you to easily define is-mobile, is-tablet, is-desktop for your element so you can style it accordingly. ## Demo ```html I will be yellow on tablet and green on mobile just by using css variables. For everything else I can use the is-mobile, is-tablet, is-desktop attribute of the element. PS: is-desktop does not work in this inline demo as it's an iframe ``` ## Installation ```sh $ bower install --save daKmoR/grain-responsive-container ``` ## Getting Started Import the package. ```html ``` *For more information, see the API documentation.* ## Working on the Element First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. * View the Element via `polymer serve` * Run tests via `polymer test`