I am trying to create a vertical range input, and this is what I have:
input[type='range'] {
-webkit-appearance: slider-vertical;
background-color: #ccc;
height: 158px;
width: 2px;
margin: 8px auto;
}
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
border-radius: 20px;
background-color: #3ebede;
height: 30px;
width: 30px;
}
but it seems that since I have " -webkit-appearance: slider-vertical; " to make it vertical, the styles will not be applied.
Is there a way to create a vertical range without transforms / plugins ...?
Note. I only need it to work with Chrome
UPDATE:
Here's a JSFiddle for what I have.
source
share