DEV Community

Deepak Yadav
Deepak Yadav

Posted on

3 1

:is() pseudo class

:is() 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. This is useful for writing large selectors in a more compact form.

Image description

All though it is not yet supported by all versions of browsers.

fact :matches() renamed as :is()

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More