Converting

CSS Specificity Calculator

Calculate the specificity of CSS selectors. Enter one selector per line to compare. Use inline as a selector to represent inline styles.

Specificity Components

a — Inline

style=""

b — IDs

#id

c — Classes

.class, [attr], :hover

d — Elements

div, ::before

Enter CSS selectors above to calculate specificity

Share

marduc812

2026