Background Size

Utilities for controlling an element's background size.

Classes

Class Output
.d-bgp-contain background-size: contain !important;
.d-bgp-cover background-size: cover !important;
.d-bgp-var background-size: var(--bgg-size, 100% 100%); !important;
.d-bgp-auto background-size: auto !important;
.d-bgp-unset background-size: unset !important;

Usage

Use d-bgs-{n} to control the size of element's background image.