DEV Community

Discussion on: What is the biggest mistake new developers make when learning CSS?

Collapse
 
alohci profile image
Nicholas Stimpson

Yes. I think there's a couple of difficulties with the cascade, not only for beginners but even for intermediate CSS devs. The first is that you have to understand it in its entirety to be able to use it effectively. The other is there are very few guides on how to choose complex selectors to exploit specificity to your advantage. The mechanics of specificity is widely described, but there's very little about why it can work so well if it's used correctly.