Did you use :is(), A CSS pseudo-class function

:is() make CSS simpler and cleaner

Abhinav Kumar
2 min readJan 22

--

Photo by Pankaj Patel on Unsplash

A 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.

It was originally named named :matches() (and :any()), this selector was renamed to…

--

--

Abhinav Kumar

Software Engineer @Zalando, Living in Germany, Tech enthusiast, Story Teller, Write about my learning and experiences in tech and in life.