CSS Variables + JavaScript = Win! | KIRUPA


#1

by kirupa | 5 June 2018

When setting CSS property values via JavaScript, especially the really complex ones, you will often find yourself wrestling with strings:


This is a companion discussion topic for the original entry at https://www.kirupa.com/html5/css_variables_js_win.htm