DEV Community

Discussion on: So, how many of you respect CSS as a programming language?

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

I don't consider it a programming language, for reasons that I've often enough explained elsewhere.

It is, however, an extremely underrated tool. You will often find me complaining about "CSS Frameworks" and how they actively try to undo everything CSS has done for HTML.

I've seen sooo many examples of ugly code where people try to fix problems algorithmically, like adding .a and .b classes to table rows, instead of just defining a class for the whole table and using tr:nth-child(even) to style every second row separately, or filtering through the DOM to add some bootstrap/uikit/whatever class to some elements instead of just coming up with a few declarative rules.