JSFiddle - React, Tailwind, and code Playground

by lollero

HTML

<input class="bar" type="range" id="range" value="50"/>

CSS

input[type="range"] {
    -webkit-appearance: none;
    background-color: #D64928;
    height: 15px;
    margin: 50px;
    border-radius: 300px;
    width: 170px;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.6);
    outline: none; 
}
 
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #222;
}