JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<input type="range" id="seek-bar" value="0">
CSS
input[type=range] {
-webkit-appearance: none;
}
input[type=range]::-webkit-slider-runnable-track {
width: 300px;
height: 5px;
background: #ddd;
border: none;
border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
border: none;
height: 16px;
width: 16px;
border-radius: 50%;
/* background: goldenrod; */
margin-top: -4px;
}
JavaScript
setTimeout(function() {
document.styleSheets[0].addRule('input[type=range]::-webkit-slider-thumb', 'background: green');
}, 1000);