3 ms·
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 C
by err4nt 7y ago
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.