I used JavaScript to make an input range vertical, like so:
var range_pitch = document.createElement("input");
range_pitch.setAttribute("type", "range");
range_pitch.style.webkitTransform = "rotate(90deg)";
range_pitch.style.mozTransform = "rotate(90deg)";
range_pitch.style.oTransform = "rotate(90deg)";
range_pitch.style.msTransform = "rotate(90deg)";
range_pitch.style.transform = "rotate(90deg)";
However, I am having trouble placing it inside a created <div>
:
vertical_slider.appendChild( range_pitch );
document.body.appendChild( vertical_slider );
You can view my question on this JSFiddle link
If anyone has a solution, please let me know. Thanks!