What this developer tool does
Selectors are split at top-level commas. Functional pseudo-classes are evaluated recursively: is, not, and has take the most specific argument, while where contributes zero. IDs, class-like selectors, pseudo-elements, and type selectors are then counted.
Selectors are split at top-level commas. Functional pseudo-classes are evaluated recursively: is, not, and has take the most specific argument, while where contributes zero. IDs, class-like selectors, pseudo-elements, and type selectors are then counted.
This is a static specificity calculator, not a full CSS parser. Highly unusual escaped identifiers may need confirmation in browser developer tools.