CSS custom properties don't need JavaScript to work - they're a platform feature. You can read them and interact with them from JavaScript just like any other CSS property, but just like any other CSS property it can be used 100% independently from any JS.
Comments (108) 33 threads
Show all comments
Showing thread 14 of 33
Also, wondering; how does this use custom css properties without using javascript?