CSS :is() & :where() Playground

Mrs. Lastri and Rara write orders for the labels’ colour: Mrs. Lastri’s list written with :is(), :where() or commas, and the colour the browser computes shows…

Why it matters

Picking the wrong one causes "why does my style not apply" bugs. :where() is for defaults that are easy to override (resets, libraries); :is() for groups that may be strong. And both save your rule from one mistyped selector.

The key idea

:is() weighs its strongest argument, :where() always zero

Common mistakes

Try it in this playground