Switch CSS Classes

Note: This feature is only available to Wix Studio users.

You can use the classes listed below to style your Switch 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.

.switch

Targets switch elements. For example:

Copy

.switch__label

Targets switch label text. For example:

Copy

.switch__track

Targets switch track elements. For example:

Copy

.switch__handle

Targets switch handle elements. For example:

Copy
Was this helpful?
Yes
No