Computer >> Computer tutorials >  >> Programming >> Javascript

HTML5 input type range for vertical orientation possible in Firefox?


Now it is possible. The HTML5 input type range for vertical orientation is possible in the Firefox web browser.

<input type = "range" name = "range" min = "0" max = "" step = "1" value = "2" />

The following is the CSS −

input[name = range] {
   position:relative;
   top: 150px;
   width: 200px;
   height: 13px;
   border: 0
   -webkit-transform: rotate(270deg);
      -moz-transform: rotate(270deg);
         transform: rotate(270deg);
}