Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
https://goo.gl/axaVT
Using CSS custom properties (variables) - CSS: Cascading Style ... -
It'll probably come back to you but when you have to write out the nested class the long way you're going to hate your life.
-
@heyheni scss had variables for ages, what's so different with CSS vars? (genuinely asking because of lack of information, not trying to be an asshole)
-
@highonsleep yeah and de devs at w3c got envy and decided it's time for css to get some scss goodness. 🙂
-
@heyheni well alright then I'm gonna keep using my sweet baby jesuscss, thanks for the info 🙂♥️
-
hexc11197yI made a css tool for one of the frameworks I've been developing, I can use the "this" key word in selector and it auto binds a Id to the component and replaces any "this"s in selectors with "#id", also lets me use JS variables from the component in the styling, that one tiny change has made css so much more useful for me lol.
Related Rants
I'm so used to SCSS, I'm sure I wouldn't be able to style shit with pure css.
rant
scss