I wish people would stop glorifying CSS variables. They're 6 years late to the party and are wearing old clothes. W3C needs to implement more SASS-like features at once, not one every 10 years.
PS: That syntax is horrible. Am I right, or is it just me?
Oh I agree, that syntax is horrible. I think W3C should adopt something akin to SASS variables instead of the currently proposed syntax.
I read up the reason why they chose that syntax, but it doesn't really hold up true, at least for me. Here's the reference behind the reason: http://www.xanthir.com/blog/b4KT0
Stop capitalizing Sass. It makes my eyes bleed :(
Half of the Internet is doing it... I can't help it either
CSS variables are so much powerful than SASS variables http://philipwalton.com/articles/why-im-excited-about-native-css-variables/
It's a pity that the focus on such a wonderful feature is the syntax.
Ahhh, finally someone that makes sense. Thanks for the link. That helped remove some of the weird feeling this was something put together overnight. Kinda makes sense when they explain it like that.
Now I get it too. Was thinking W3C went insane all of a sudden
I think a lot of developers relate CSS variables as the ones you use in Sass, Less, SCSS. So thanks for posting the link! :D
This is not the same at all as the Sass variables. CSS variables are so much more powerful. Read the article, especially the bit about media queries (and also the bit about inheritance) and tell me you don't think this will make your stylesheets so much more maintainable and awesome!
A lot of developers don't understand this so clearly! This will be a fun time when everybody make fun of themselves ;)