Coding task · HTML and CSS course · Module 9: Modern CSS

:is() and :where() Selectors

Simplify selectors using :is() and :where() like simplified hieroglyphs.

Task

Replace a long list of selectors with :is(h1, h2, h3, h4) and use :where() for low-specificity resets.