:is()
Widely available since 2023-07-21
The :is()
CSS functional pseudo-class takes a selector list as its argument, and matches any element that can be selected by one of the selectors in that list.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 88 Released on 2021-01-19
- Chrome Android 88 Released on 2021-01-19
- Edge 88 Released on 2021-01-21
- Firefox 82 Released on 2020-10-20
- Firefox for Android 82 Released on 2020-10-20
- Safari 14 Released on 2020-09-16
- Safari on iOS 14 Released on 2020-09-16