Skip to content

24 ways to impress your friends

Vote up?

Tab Atkins

@Rupert: No, there are actually very good reasons to want proper variables rather than macros. Javascript access, for one. Why should it be easy to set up a var(header-color) in your stylesheet and change it in the CSS, but not in javascript?

Plus, proper variables usually imply the familiar last-wins semantics of CSS, which we like.