I have known for a long time that certain #CSS 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. #webdev
A Mastodon instance for info/cyber security-minded people.