WeCodeAcademy
❮ :root:has(selector) ❯

:is(a, b)

Matches any selector in the list.

Syntax

:is(h1, h2) span { ... }

Example

Examplehtml
Open in editor »

← All of CSS Selectors