Button
- Last UpdatedJun 22, 2023
- 1 minute read
You can change style for HTML elements of Button using CSS classes.

|
HTML Element |
CSS Class |
|---|---|
|
Button (for Button with Text and Image) |
.skbtnti |
|
Button Text |
.skbtn |
|
Button Image |
.skbtni |
For other HTML elements and the corresponding CSS classes related to Button, see Other Controls.
Prefix the Custom Style Identifier of a control with the CSS Class name to apply the style to the specific control. For example:
/* Button1 is the Custom Style Identifier of the Button control. */
.Button1_skbtn
Example
/* Change the Button text color to red. */
/* Button1 is the Custom Style Identifier. */
.Button1_skbtn
{
color: red !important;
}
Note: Suffix your CSS declarations with !important to ensure it takes precedence over normal declarations.