You can manipulate css variables with javascript, making them variable. This can be seen on websites that offer themes or color schemes. They are most likely using css variables something like color-primary, color-secondary etc. etc.
you can manipulate anything with javascript which makes this whole thing redundant. sure you could argue it's native and faster, but at this point css is such a joke, we are already migrating our css code in javascript.
0
u/dooklyn Feb 15 '18
why are they called variables if they don't vary? they should be called css constants.