DEV Community

Discussion on: An Innovative Idea for Holding State in CSS

 
jcubic profile image
Jakub T. Jankiewicz • Edited

So:

--var: initial;
Enter fullscreen mode Exit fullscreen mode

Just reset CSS variable to initial value which is no value at all. Am I right? If so I would write this in TL;DR section. I wonder how it would behave if you register the CSS variable in JavaScript with initial value.