CSS: the :is() pseudo-class

Mastering the use of the :is() pseudo-class can help you write more compact code in nested selectors!

Photo by Pankaj Patel on Unsplash

Last updated: October 2, 2021

Situation

Very often, we need to apply the same styles to several different elements without repeating the styles in the stylesheet.