carly31
10/15/2018 - 1:57 AM

css variables from html

 .frame_slider {
 background: var(--sliderBg); 
 
 }
var color = "--sliderBg: blue;";

frame_slider.setAttribute("style", color);