Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 615 Bytes

File metadata and controls

15 lines (10 loc) · 615 Bytes

The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list.

Code example

:where(:valid, :unsupported) {
  /* … */
}

Result of implementation

<iframe class="interactive is-tabbed-shorter-height" height="400" src="https://interactive-examples.mdn.mozilla.net/pages/tabbed/pseudo-class-where.html" title="MDN Web Docs Interactive Example" loading="lazy" data-readystate="complete" data-dashlane-frameid="1797"></iframe>