DEV Community

Discussion on: Why is CSS Hated On?

Collapse
 
aclarembeau profile image
aclarembeau

I would say, because it's a difficult one:

Sometimes, even things that look simple can be difficult. You can end up being frustrated, and have thoughts like: "Hey, I would just love to move that div". That makes you easily blame the language for being not good. But, the main question would be: can we design a more expressive language easily?

It's also hard to structure large programs with CSS, as you'll have to create a real "CSS architecture", using structures like ITCSS, BEM, etc... Many projects don't have it, and end up very hard to maintain. So, you can easily blame the language and tell "CSS is hard to maintain in the long run". But, the problem is that CSS needs to be structured to be maintainable (like any other language)