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…
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.
:is() weighs its strongest argument, :where() always zero
:where(#id) yet it still counts zero :where() always counts zero whatever is inside, #id included. That is the feature: a default written in :where() can be overridden by one class.:is(#x, p) rule looks light but still wins :is() counts its strongest argument wherever it matches. :is(#x, p) on a plain p is still (1,0,0). If each branch must keep its own weight, write a plain comma list.a, b:oops, c, one invalid selector drops the whole rule. The list inside :is() and :where() is forgiving: the invalid one is skipped, the rest still work.:where The label turns red: (0,1,0) ties with .label, and Rara's rule comes later..card:hovr The plain comma list is "dropped", :is() and :where() still work.#panel inside :is() The note label only matches through .note, yet it still counts (1,1,0) because #panel is in the list.