CSS sucks because we don't bother learning it.
https://idiallo.com/blog/learn-css
Every time I hear someone complaining about how much CSS sucks, I have one question: Did you ever learn CSS?
CSS may not be a programming language per se, but that doesn’t mean you can learn it in a day. You can learn the syntax just like you can learn the cool parts of JavaScript in a day. But using CSS to solve a design problem demands just as much planning and experience as you would with any other task.