BackgroundTrait
trait BackgroundTrait
Trait BackgroundTrait
Methods
Details
$this
background(Background|ColorValue|string $background)
Sets the background.
The image background is visible when padding is added with one of the padding crop modes, when rounding corners, when adding overlays, and with semi-transparent PNGs and GIFs.