Background

Helper classes for background colors. If available, the color variable is also passed for the block color.

Content with the "default type" background
Content with the "base" background
Content with the "accent" background
Content with the "success" background
Content with the "neutral" background
Content with the "warning" background
Content with the "error" background
Content with a "transparent" background (and inherit color)
Content with an inherited background (and color)
<div class="k-background-type">
    Content with the "default type" background
</div>

<div class="k-background-base">
    Content with the "base" background
</div>

<div class="k-background-accent">
    Content with the "accent" background
</div>

<div class="k-background-success">
    Content with the "success" background
</div>

<div class="k-background-neutral">
    Content with the "neutral" background
</div>

<div class="k-background-warning">
    Content with the "warning" background
</div>

<div class="k-background-error">
    Content with the "error" background
</div>

<div class="k-background-transparent">
    Content with a "transparent" background (and inherit color)
</div>

<div class="k-background-inherit">
    Content with an inherited background (and color)
</div>

Need Help?

Let our developers personally assist you. You can ask development related questions in our Support Center. Only for Business or Agency subscribers.