Self-Modifying Variables: the inherit()
Workaround
with tags: #CSS Variables #Style Queries #CSS Logic #Future CSS #Experiment #CSS
Style queries will unlock many doors. An ability to alternate a value of any variable that I presented in my previous article might seem to be trivial by itself, but what if there is a hidden depth in how we can utilize it? One interesting case is the ability to emulate inherit()
— a way to access the previous state of a custom property.