What is Nostr?
Lea Verou /
npub1al7…kh5q
2024-06-13 09:54:45

Lea Verou on Nostr: A historical day for CSS πŸ˜€πŸŽ‰ If you write any components used and/or styled by ...

A historical day for CSS πŸ˜€πŸŽ‰

If you write any components used and/or styled by others, you know how huge this is!

background: if(style(--variant: success), var(--green));

Even if you don’t, this will allow things like:
padding: if(var(--2xl), 1em, var(--xl) or var(--m), .5em);

GitHub issue: https://github.com/w3c/csswg-drafts/issues/10064

Author Public Key
npub1al72g7fmyugvn5u372hjg078y295gephuy7xqkewaycaqvcexdhsw2kh5q