Created
March 10, 2014 17:32
-
-
Save AntouanK/9469869 to your computer and use it in GitHub Desktop.
CSS expressions
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
| CSS expressions are bad, but if you really must use one, you can make it self-rewriting: | |
| .the-thing { | |
| background-color: expression(this.runtimeStyle.backgoundColor = 'none', [your code here]); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment