#main .card:hover .title1,3,0Highest specificity — this selector wins the cascade.
Breakdown (4 parts)
- id #main+1,0,0
- class .card+0,1,0
- pseudo-class :hover+0,1,0
- class .title+0,1,0
Free tool
Paste one or more CSS selectors and see their specificity side-by-side. Works with every modern selector — including :is(), :not(), :has(), and :where().
Handles IDs, classes, attributes, pseudo-classes, pseudo-elements, and :is() / :not() / :has() / :where(). The calculation follows the CSS Selectors Level 4 specificity algorithm.
#main .card:hover .title1,3,0Highest specificity — this selector wins the cascade.
.card:is(.card--large, .card--featured) .title0,3,0header nav ul li a.active0,1,5.shortcut0,1,0CSSpeek shows you the resolved computed style of any element on any website — no specificity math required. Add it to Chrome and see what the cascade actually produced.
The CSS cascade uses three rules to decide which declaration applies to an element: importance (!important), specificity, and source order. This calculator handles the middle one.
Each selector is scored into a tuple (A, B, C):
Comparisons read left-to-right: a higher A beats any B or C, and so on. If two selectors tie, the rule that appears later in the source wins.
Free tool
Paste a URL, get a full design-system breakdown.
Extract the color palette, typography scale, spacing values, border radii, and box shadows of any public website.
Open tool →Free tool
Read dense utility classes at a glance.
Paste a Tailwind CSS class string and see what each utility does, the resolved CSS, and a live visual preview.
Open tool →Free tool
Build layered shadows visually, copy the CSS.
Design single- or multi-layer box shadows with sliders and a live preview. Export the CSS when it looks right.
Open tool →