✿   Cascade Conservatory
An orchid flowering under the arched glass of a sunlit conservatory
BOTANICAL PLATE   /   01

Cascade
Conservatory

The orchid house

Which rule blooms?

Both selectors match this orchid. Pick the rule that sets its bloom color.

<section class="glasshouse">
  <div id="bed" class="bed">
    <i id="orchid" class="bloom rare">
KEEPER'S NOTES

Field guide

Compare the selectors from left to right by weight. The first differing count decides.

  1. Count IDs, like #bed.
  2. Count classes, attributes and pseudo-classes, like .rare.
  3. Count element names, like i.

:where() weighs zero. :is() takes its strongest argument. An exact tie goes to the later rule, B. All rules here share the same origin, layer and importance.

Use A or B to pick and Enter to advance.