CSS Specificity Calculator

Enter any CSS selector to see its (A, B, C) specificity score. Add multiple selectors to compare them.

Separate multiple selectors with commas or newlines. Supports all standard selectors. Examples: #id .class div > p a:hover [type="text"]
Quick examples
Enter a CSS selector above to see its specificity score.