Re:CSS Variables landing in Chrome 49
by ape4 on Sunday February 07, 2016 @05:29PM
(#11055257)
Is there a way to access it from javaScript?
Can JS code set CSS --color and make it change.
[ Parent
| on HN ]
It looks like this can be changed with `setProperty`. There's a demo[1] that works on Firefox 31+ and Chrome 49+
[1] https://www.broken-links.com/2014/08/28/css-variables-updati...
Thanks. I wonder if it could be creatively misused to act as a database.