Last active
June 23, 2018 17:12
-
-
Save tomhodgins/aba076662287b5badae2c0955672a9c2 to your computer and use it in GitHub Desktop.
This file contains 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
/* JS-powered Stylesheet */ | |
${test ? ` | |
example { | |
property: value; | |
} | |
` : ''} | |
/* JS-Powered Selector */ | |
${test && 'example' || ''} { | |
property: value; | |
} | |
/* JS-Powered Property */ | |
example { | |
property: ${test ? value1 : value2}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment