mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
19 lines
294 B
HTML
19 lines
294 B
HTML
<script>
|
|
Polymer({
|
|
is: 'x-input',
|
|
extends : 'input'
|
|
});
|
|
</script>
|
|
<style is="custom-style">
|
|
input[is=x-input] {
|
|
border : 4px solid red;
|
|
@apply (--cs-blue);
|
|
}
|
|
</style>
|
|
<style is="custom-style">
|
|
:root {
|
|
--cs-blue: {
|
|
border : 8px solid blue;
|
|
};
|
|
}
|
|
</style> |