The CSS Working Group (CSSWG) has resolved to add the if() conditional to the CSS Values Module Level 5 specification. The proposal, led by Lea Verou, aims to allow styles to be applied based on conditional requirements. This conceptual feature could enable inline conditionals with selectors, transforming how styles are

8m read timeFrom css-tricks.com
Post cover image
Table of contents
This isn’t a new ideaSyntaxThis is all related to style queriesConditions supporting other conditions“Can’t we already do this with [X] approach?”Happy birthday, Lea!References
2 Comments

Sort: