CSS :is() :where() the Magic Happens

October 13, 2025

Glowing Mullard EL84 vacuum tube with orange illumination inside a glass enclosure against a dark background.

For Blogtober, I dug up a draft about the two CSS pseudo-class functions :is() and :where() that I’d had lying around in my drafts folder for quite some time. Actually, when I originally started writing this post, :is() and :where() had just landed in CSS, and — just like with so many other new CSS features — I was expecting them to “change the way we write CSS.” Both are now widely available baseline features supported by all modern browsers.

Source: CSS :is() :where() the Magic Happens · Matthias Ott

Mattias Ott looks at two relatively new CSS selectors that are now widely supported and how they are being used in the wild as well as how you might best take advantage of them.