Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: