Created
June 26, 2014 13:50
-
-
Save Inviz/86105d2fa0674715a8f3 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
[width] = 10 | |
div { | |
[width] = 20 # All variables are resolved through scope, so can be redefined locally | |
width: $width # bind to variable once (doesnt listen for future changes) | |
width: [width] # equasion (observes width) | |
width: (div)[width] # only binds by selector (observes) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment