Better HN
topnewbestaskshowjobs
Log inSign up

kizmarh

1 karma · joined Nov 26, 2025 (1y ago) · 1 submissions

https://kizu.dev/
Submissions

comment 1y ago · link · parent

Not by themselves, at least today, as we can't currently modify the value of a custom property by using itself in the calculation. But in the future we will have an `inherit()` functional notation that will unlock this (and at least Chrome implemented it in Canary already — https://blog.kizu.dev/play-with-inherit-function/).

It is possible to use style queries and some hacks (https://kizu.dev/self-modifying-variables/) to achieve this today, but that doesn't bring this closer to production, as Firefox still does not support them (but will be soon).