css.joedoe.dev

← All the tools

(0,1,0)

Specificity

Paste selectors and see which one wins and why, with :is(), :not(), :has() and :where() counted properly.

On a tie, the one later in the CSS wins. And all of this loses to a later cascade layer (@layer) or an inline style.

a b c = ids · classes, attributes and pseudo-classes · elements and pseudo-elements

SelectorSpecificity

If it falls short

Everything in «Quality and performance» →

Next: Fluid type →

↑↓ move · ↵ open · esc close