JSFiddle - React, Tailwind, and code Playground
HTML
<input type="range"/>
CSS
input[type=range] {
-webkit-appearance: none; /* remove estilo padrão do browser */
}
/* estiliza o marcador móvel */
/* Chrome/Safari/Opera */
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none; /* remove estilo padrão do browser */
background: red;
height: 15px;
width: 10px;
}
/* Firefox */
input[type=range]::-moz-range-thumb {
background: red;
height: 15px;
width: 10px;
}
/* IE */
input[type=range]::-ms-thumb {
background: red;
height: 15px;
width: 10px;
}
/* estiliza a a barra do slider */
/* Chrome/Safari/Opera */
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 5px;
background: blue;
}
/* Firefox */
input[type=range]::-moz-range-track {
width: 100%;
height: 5px;
background: blue;
}
/* IE */
input[type=range]::-ms-track {
width: 100%;
height: 5px;
background: blue;
}