I have several range sliders and would like to have a different colour for the "runnable track” on each one. I have given each slider an individual CLASS (in this case it is sepiaSlider, but can’t find a reference online to the syntax to target that.
All I can think of trying is..
<input class="sliders sepiaSlider sepiaSliderID7643108" type="range" name="amountRange" min="0" max="100" value="0" step="1" oninput="this.form.amountInput.value=this.value">
<style>
.sepiaSlider input[type=range]::-webkit-slider-runnable-track {
//styles
}
</style>
...and that doesn’t work.
Could I target it by wrapping the input with a div with the class “sepiaSlider” and then do something like...
.sepiaSlider > input{}
instead?