Free online tools · Browser-first utilities · No account required
Home / Developer Tools / CSS Specificity Helper
Developer Tools

CSS Specificity Helper

Estimate CSS selector specificity.

Using CSS Specificity Helper

On this page
  1. Using CSS Specificity Helper
  2. Input reference
  3. Continue your task

Paste the CSS or markup into a small test page with real content. The surrounding stylesheet, box sizing and inherited properties affect the rendered result. Check the longest label and a narrow viewport before using the snippet in production.

Example input

Input
#main .card p

Example result

Estimated specificity: 1 IDs, 1 classes/attributes/pseudo-classes, 1 elements

Read next · How to Choose the Right Online Tool

Input reference

Input
Enter multiline text. Field hint — Enter or paste your input here….
Additional value (if needed)
Enter text. Field hint — Optional second value.
Report a correction

← Browse all 311 tools