Guide · Developer Tools / Design, Color & CSS
About CSS Selector Specificity Calculator
Compute and rank exact CSS Selector Specificity `(ID, Class/Attr/Pseudo-class, Element/Pseudo-element)` tuples for multiple selectors side-by-side.
When to use this tool
Settle cascade override mysteries quickly without slapping `!important` onto stylesheets.
How to use CSS Selector Specificity Calculator
- Paste CSS Selectors one per line.
- Inspect sorted specificity `(A, B, C)` scores from highest priority to lowest.
Supported inputs, options, and outputs
- Input: Multi-line CSS selector list.
- Output: Ranked specificity breakdown table (`IDs`, `Classes/Attrs`, `Tags`).
Accuracy notes and limitations
- Handles standard selectors, `:is()`/`:not()`/`:where()` (zero weight for `:where`) heuristics; complex nested `@scope` or `@layer` cascade weights require layer-order context.
Privacy and browser processing
Color palettes, CSS rules, SVG vectors, barcodes, and SEO metadata snippets generate strictly inside browser memory—nothing is uploaded to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Developer Tools.