FREE WEB TOOL

CSS specificity calculator

Calculate CSS selector specificity as ID, class/attribute/pseudo-class, and element components.

Use tool

How to use

Calculate CSS selector specificity as ID, class/attribute/pseudo-class, and element components.

  1. Enter the source values or text.
  2. Change only the settings you need.
  3. Run the tool and copy or reuse the result.