DEV Community

Discussion on: What makes CSS so hard?

Collapse
 
conorsheehan1 profile image
Conor Sheehan • Edited

It's write only. If you edit or remove something, you'll break a random page.

Joking aside, I'd say refactoring css is hard, and people often don't archtiect things in advance like they would with other parts of code, so it becomes a massive ball of tech debt.

The cascading part of CSS definitely doesnt help this. Scoping styles to components helps, but still doesn't resolve it completely.