Comment by cluckindan
4 hours 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.
No comments yet
Contribute on Hacker News ↗