There's something about CSS I just don't fundamentally get. Why write

:is(article, aside) > header { ... }

to denote a the disjunction of article or aside elements, and then the header children of that disjunction, when parentheses already seem clear enough?

(article, aside) > header { ... }

To me it's overriding the precedence of the comma operator, something parens have done for a long time.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!