Developer
CSS Specificity Calculator
Paste one or more selectors to see their specificity and which one wins.
Preparing tool
How to use CSS Specificity Calculator
- Type or paste selectors, one per line.
- Read each score and how every part adds up.
- Check the ranking to see which rule wins and why.
What are the limits of CSS Specificity Calculator?
Scores selectors only. It does not read inline styles, !important layers, @layer order or source order in your real stylesheet. Your selectors stay on your device.