Pseudo-class
Selects any element that can be selected by one of the selectors in the given selector list.
Syntax for :is()
| Syntax |
Selectors Level 4 | :is( <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)