Skip to content

Instantly share code, notes, and snippets.

@Inviz
Created June 26, 2014 13:50
Show Gist options
  • Save Inviz/86105d2fa0674715a8f3 to your computer and use it in GitHub Desktop.
Save Inviz/86105d2fa0674715a8f3 to your computer and use it in GitHub Desktop.
[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