A primer on the cascade and specificity – Piccalilli

The internet meme goes “men will literally … to avoid going to therapy”. Often I have a similar thought as people struggle with (or work incredibly hard to avoid) CSS–”developers will do literally anything to avoid using CSS directly”.

And this often boils down to one thing–well two things–misunderstanding the cascade (listen it’s the firs word in the name that should be a strong hint it’s important) and specificity.

So if you struggle with these (or even if you don’t) this one comes highly recommended.

Foundations are important. We tend to think of them as simple, or easy, rather than as the bedrock on which everything else is built, like closures in JavaScript.

So refresh your understanding or take it to a new level with this great primer.