CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: :where() CSS function

The :where() Function

Pseudo-class

Selects any element that can be selected by one of the selectors in the given selector list.

Syntax for :where()
 Syntax
Selectors Level 4:where( <forgiving-selector-list> )

Notes

  • :is() and :where() are similar but :is() counts towards the specificity of the overall selector while :where() has a specificity of 0.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem