Compute the (a, b, c) specificity score of any CSS selector. Paste a list — one per line — and the winner is highlighted. Modern features like :is(), :not(), :has(), and :where() are handled correctly. Polished version at codefronts.com.
Examples:
a · IDsb · classes / attrs / pseudo-classesc · elements / pseudo-elements