I have created a range slider using CSS and customized the as per my requirement. This is how it's looks like :
.slidecontainer {
width: 18%;
pointer-events: none;
}
.slider {
-webkit-appearance: none;
width: 100%;
height: 30px;
background: #dadadaa3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
border-radius: 10px;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 15px;
height: 30px;
background: #4CAF50;
cursor: pointer;
pointer-events:auto;
}
.slider::-moz-range-thumb {
width: 25px;
height: 25px;
background: #4CAF50;
cursor: pointer;
}
<div class="slidecontainer">
<span>10</span><input type="range" min="10" max="100" value="40" class="slider" id="myRange"><span>100</span>
</div>
But I need to set the Minimum value inside the beginning of the range and set the Maximum value inside the end of the range using CSS.
