How to remove the slider range?

How to remove the slider in range input?
March 23rd 20 at 19:30
2 answers
March 23rd 20 at 19:32

input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none !important;
height: 0px;
width: 0px;
March 23rd 20 at 19:34
input[type=range] {
 -webkit-appearance: none; // optional, but, apparently, will be useful
input[type=range]::-webkit-slider-thumb {
 display: none; 
The decision is good, but there is a problem - in this case, the range did not respond to user events. - Rhea commented on March 23rd 20 at 19:37
@Rhea, well, the question was "how to remove" and not "how to hide".. =)
In this case, the width/height it is better to leave alone, and give the runner opacity: 0 - easter29 commented on March 23rd 20 at 19:40

Find more questions by tags HTMLCSS