Is it possible to restyle a input range to have different colors on the right and left side of the tracker just by CSS? This is what i have gotten so far.
input[type=range] {
margin: 10px 0;
margin: 50px;
width: 500px;
background: transparent;
-webkit-appearance: none;
}
input[type=range]::-webkit-slider-runnable-track {
height: 10px;
background: white;
border-radius: 5px;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
border: none;
height: 25px;
width: 25px;
border-radius: 50%;
background: white;
border: 3px green solid;
margin-top: -7px;
}
input[type=range]:focus {
outline: none;
}
body {
background-color: green;
}
<input type="range" min="0" max="10" />