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
-
C0D4681387yThis 🙌
I love css, although i roll up in a ball and cry due to the lack of good code you can actually produce 😢 -
Css modules really removed the pain for me tho. I finally dont hate working with css.
-
meowth4297y@Triskelion I'm ok with all those concepts. +1 on all that. It's basically when people want to go beyond that and restrict functionality or force ordering of rules or whatever other rule. I'm also ok with code reuse when it makes sense. Example: use the grid when it makes sense, but not when it doesn't.
Related Rants
"Quality CSS" is much a fucking misnomer. As someone whose been writing this shit at scale for 15+ years I can tell you all CSS code is garbage. The only thing you should do is make sure you don't have name collisions. Classes/components are self contained. And use variables when possible. DRY makes sense usually, but if you're dogmatic about it you shoot yourself in the foot.
rant
🍉
cool
can i put emojis in here?