Dropdown CSS Classes
Note: This feature is only available to Wix Studio users.
You can use the classes listed below
to style your Dropdown
elements with CSS.
For more information on styling your elements with CSS, see Styling Elements with CSS and the MDN CSS reference docs.
Important: Element structure and undocumented class names may change without advance warning. To avoid unintended style changes to your site, select elements with the documented class names only.
.dropdown
Targets dropdown elements. For example:
css | Copy Code.dropdown {width: 500px;display: flex;flex-direction: row;}
.dropdown__label
Targets dropdown label text. For example:
css | Copy Code.dropdown__label {font-family: sans-serif;font-weight: 700;text-transform: lowercase;color: black;}
.dropdown__icon
Targets dropdown icons. For example:
css | Copy Code.dropdown__icon {fill: #840292;}
.dropdown__input
Targets dropdown input boxes. For example:
css | Copy Code.dropdown__input {border: none;border-bottom: 2px solid #840292;background-color: #dfd2f4;font-family: monospace;}
.dropdown__list
css | Copy Code.dropdown__list {background-color: #dfd2f4;font-family: monospace;}
Was this helpful?