I was trying to rotate an HTML select box, which I am able to do by rotating the element in CSS, but I realized that the contents, once clicked, will be horizontally displayed.
In the case of a multiple select box, I am able to rotate the elements inside with jQuery, but not in a normal select box.
Is there a way to accomplish this?
$('option').css({
  "transform": "rotate(30deg)"
});#sel1 {
  position: absolute;
  top: 100px;
  left: 100px;
  transform: rotate(20deg);
}
#sel2 {
  position: absolute;
  top: 100px;
  left: 200px;
  transform: rotate(20deg);
}<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<select name="sel1" id="sel1">
  <option class="opt" value="0">o0</option>
  <option class="opt" value="1">o1</option>
  <option class="opt" value="1">o2</option>
</select>
<select multiple name="sel2" id="sel2">
  <option class="opt" value="0">o0</option>
  <option class="opt" value="1">o1</option>
  <option class="opt" value="1">o2</option>
</select>Here is the example at codepen
 
    