Follow

I have known for a long time that certain selectors will take precedence over others, based on how specific they are. But I never knew the details of how this specificity is calculated.

Turns out it's not complicated at all. This article does an amazing job of explaining exactly how it works.

dev.to/emmawedekind/css-specif

Sign in to participate in the conversation
Infosec Exchange

A Mastodon instance for info/cyber security-minded people.