I'm surprisingly ambivalent about 'when' or 'if' in #CSS. Just implement it already. However, I wonder how useful it will be. With, parent selectors, container queries, cascade layers, etc., we can do a lot already. Also, do we now need CSS unit tests?
A summary of the current discussions around naming conditional statements in #CSS by ⁦@meyerweb⁩ — I, too, emphasize with both arguments. But I'd hate having to say "when really means if" when talking about these statements in the future. meyerweb.com/eric/thoughts/2…
2
1
Replying to @dutchcelt
CSS is no longer a declarative language.

Mar 20, 2022 · 4:01 PM UTC

1