Created
August 4, 2016 21:28
-
-
Save cdata/a92c7a58e5540407f3f80be4e728ba52 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .has-a-data-url { | |
| background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9+IA==), none 0 0; | |
| } | |
| :host { | |
| color: blue; | |
| @apply --gets-applied; | |
| --gets-applied: { color: red; }; | |
| --big: { | |
| foo1: bar1; | |
| foo2: bar2; | |
| foo3: bar3; | |
| foo4: bar4; | |
| foo5: bar5; | |
| foo6: bar6; | |
| foo7: bar7; | |
| foo8: bar8; | |
| foo9: bar9; | |
| background: linear-gradient(var(--color1), var(--color2) calc(var(--length1)*1px)) 0; | |
| }; | |
| } | |
| :host { | |
| @apply --doesnt-get-applied; | |
| } | |
| :host { | |
| --doesnt-get-applied: { font-size: 100px; }; | |
| --test: { foo: bar; } | |
| babboon: banana; | |
| } | |
| .foo > bar:baz(#flim) { | |
| foo5: bar5; | |
| foo6: bar6; | |
| foo7: bar7; | |
| foo8: bar8; | |
| @apply --big; | |
| } | |
| div { | |
| background: linear-gradient(var(--color1), var(--color2) calc(var(--length1)*1px)) 0; | |
| @apply --big; | |
| } | |
| .foo { | |
| bar: /*baz*/vim; | |
| @apply --big; | |
| } | |
| /* unclosed | |
| @fiz { | |
| --huk: { | |
| /* buz */ | |
| baz: lur; | |
| }; | |
| } | |
| @gak wiz;{} | |
| div { display: block } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment