CSS specificity calculator
Paste any CSS selector and get its (a, b, c) specificity score: IDs first,
then classes, attribute selectors and pseudo-classes, then element types and
pseudo-elements. Higher a always beats higher b, which always beats higher c.
The calculator also handles the modern :is(), :not(), :has() and :where()
functions and explains its reasoning. Everything is parsed in your browser, so
nothing is uploaded.