4 ms·
Don’t apply programming language mental models onto CSS features. CSS if() probably just merges one of two single-property RuleSets onto the parent RuleSet dep
by cluckindan 11mo ago
Don’t apply programming language mental models onto CSS features.
CSS if() probably just merges one of two single-property RuleSets onto the parent RuleSet depending on the condition, which has nothing to do with branching, as there is no execution flow to branch.