Changing slider color
问题 I want to be able to create multiple sliders of different colors. One of the suggestions I found online was to create multiple classes in my CSS file for each color and to call on the needed class when defining the slider. It is not clear how to override CSS in Javascript and how to change my html file accordingly. Please find code attached below: <body> <div id="testslider"></div> <script> var slider = d3.slider().min(0).max(1).value(1).ticks(1).showRange(true); d3.select('#testslider').call