DEV Community

Discussion on: If you could start over from scratch, how would CSS work?

Collapse
 
tipoqueno profile image
Eugenio Monforte

"CSS has a lot of issues." Which ones?

I feel that a lot of developers didn't learn CSS properly.

Collapse
 
setagana profile image
setagana

To me (as someone who naturally gravitates more towards the back-end of the stack) my biggest annoyance with CSS is that I find it all to be magic words. Nothing has a predictable effect, because how a property influences an element depends on what kind of element it is, what kind of elements it is a child of, what properties those parents have, etc etc etc. So when I set out to achieve a specific goal, it feels like I'm just trying random combinations of magic words on the element, its parents, its children and every other thing in the DOM until I find the "spell" that does what I want.