'Is there any way to rotate dcc.dropdown at an angle?

enter image description here

As shown drop down button is in the image is rotated. Is there any way to do it? I looked into https://dash.plotly.com/dash-core-components/dropdown but didn't find anything.



Solution 1:[1]

You could use css to rotate the dropdown:

.Select {
  transform: rotate(-90deg);
}

The above would rotate all dropdowns. If you want to rotate a specific dropdown you could add an id to the dropdown and change the css to something like this

#dropdown .Select {
  transform: rotate(-90deg);
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bas van der Linden