10 comments

  • Catalin CimpanuCatalin Cimpanu, 7 years ago

    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?

    4 points
    • Alfonse Surigao, 7 years ago

      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

      0 points
    • David BachmannDavid Bachmann, 7 years ago

      Stop capitalizing Sass. It makes my eyes bleed :(

      0 points
    • Bogdan SoareBogdan Soare, 7 years ago

      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.

      3 points
      • Catalin CimpanuCatalin Cimpanu, 7 years ago

        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.

        0 points
      • Raluca PartenieRaluca Partenie, 7 years ago

        Now I get it too. Was thinking W3C went insane all of a sudden

        0 points
      • Joacim NilssonJoacim Nilsson, 7 years ago

        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

        0 points
    • Pete MillerPete Miller, 7 years ago

      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!

      0 points
      • Joacim NilssonJoacim Nilsson, 7 years ago

        A lot of developers don't understand this so clearly! This will be a fun time when everybody make fun of themselves ;)

        0 points