Background Color
The Telerik and Kendo UI Background Color Utilities are CSS classes that enable you to control the color of an element's background.
Utility Class | CSS Property |
---|---|
.k-bg-white | background-color: white; |
.k-bg-inherit | background-color: inherit; |
.k-bg-transparent | background-color: transparent; |
.k-bg-black | background-color: black; |
Applying a Background Color
Use the k-bg-{color}
utilities to apply a background color. Replace {color}
with the desired color variable, for example, k-bg-primary
, k-bg-secondary
, or k-bg-warning
.