UNPKG

@polymer/polymer

Version:

The Polymer library makes it easy to create your own web components. Give your element some markup and properties, and then use it on a site. Polymer provides features like dynamic templates and data binding to reduce the amount of boilerplate you need to

21 lines (20 loc) 349 B
<dom-module id="style-import"> <template> <style> .foo { height: 2px; border: 1px solid orange; background: url(google.png); } </style> </template> </dom-module> <dom-module id="style-import2"> <template> <style> .foo { width: 4px; } </style> </template> </dom-module>