Why Nostr? What is Njump?
2024-08-06 15:52:54

Christopher Kirk-Nielsen on Nostr: If ever you thought "why do I need to use var() around my variables ugh CSS ...

If ever you thought "why do I need to use var() around my variables ugh CSS sucks!!1!", I just wrote this line of code and while I already understood it was essential, it's nice to experience *why* it's essential:
`transition: --accent var(--base-duration) var(--base-ease)` — couldn't disambiguate a property name from a value without `var()`. (also yes I'm one of those sickos who write transition/animation as shorthand)

Good job, #CSS spec writers, for thinking 12 steps ahead! :css:
Author Public Key
npub19405hrqah8pkr50tqx5psudeqet65mhcgr8gzwgd3tzc3p27z0zsz9zhyh