Search.../

Button CSS Classes

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

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

.button

Targets button elements. For example:

.button {
width: 200px;
cursor: default;
background-color: #116dff;
}
css | Copy Code

.button__label

Targets button label text. For example:

.button__label {
font-family: sans-serif;
font-weight: 700;
text-transform: lowercase;
color: black;
}
css | Copy Code

.button__icon

Targets button icon images. For example:

.button__icon {
width: 50px;
height: 50px;
border-radius: 50%;
box-shadow: 5px 5px 10px;
}
css | Copy Code

Was this helpful?