CSS Specificity Real Render Winner Rule CheckerInspect computed styles, matching rules and selector specificity

Inspects the first matching element. Computed values come from the browser; winners compare direct, unlayered author rules using (ID, class, type) tuples. Supports :is(), :not(), :where(), :has() and nth-child/nth-last-child of-lists. Inherited/default values have no direct winner. This is not a complete cascade analyzer.

CSS Specificity Real Render Winner Rule Checker

Inspect computed CSS styles, matching declarations and selector specificity from HTML and CSS. Compare !important and source order for supported rules; unsupported cascade cases are flagged rather than attributed to a winner.

Specificity

  • #main p: (1, 0, 1)
  • .card.active: (0, 2, 0)
  • p: (0, 0, 1)
  • :where(.card): (0, 0, 0)

Inspects the first matching element. Computed values come from the browser; winners compare direct, unlayered author rules using (ID, class, type) tuples. Supports :is(), :not(), :where(), :has() and nth-child/nth-last-child of-lists. Inherited/default values have no direct winner. This is not a complete cascade analyzer.

This tool renders inside an isolated iframe with no external fonts, images, or JavaScript execution, and it doesn't support Shadow DOM or dynamically-injected CSS-in-JS styles — paste static HTML/CSS snippets for accurate results.

CSS specificity — MDN