Backgrounds
Background Color
Utilities for controlling an element's background color.
Quick reference
Class | Properties |
---|---|
bg-inherit | background-color: inherit; |
bg-current | background-color: currentColor; |
bg-transparent | background-color: transparent; |
bg-white | background-color: #ffffff; |
bg-black | background-color: #000000; |
Basic usage
Control the background color of an element using the bg-{$colors}
utilities.
Customization
$colors
values can be configured using theme.colors
.
Table of Contents