(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
| Selector | Specificity |
|---|
If it falls short
- Autoprefixer CSS autoprefixer.github.io
- createapp createapp.dev
- CSS Analytics projectwallace.com
- CSS Hell csshell.dev
- CSS Lint csslint.net
- CSS Selector Specificity Calculator polypane.app
Next: Fluid type →