Specificity in :not(), :has(), and :matches()

Eric Meyer / filed under HTML & CSS

A few years back, I wrote a short post on specificity, element proximity, and the negation pseudo-class. Everything in it is still accurate and relevant, but I have some updates to share.

Join thousands of product people and get the latest articles and resources from my curation every day or week.