Syntax
background
Setting all background style properties at once.
Overview
Class | Declarations |
---|---|
bg:param,… | background-size: 2352.807392871251rem,2352.7848005134642rem;
|
Conditionally apply
Apply styles based on different states using selectors and applying conditionally.
<div class="bg:url(\'…\')|center/cover:hover bg:url(\'…\')|center/cover@sm bg:url(\'…\')|center/cover@dark bg:url(\'…\')|center/cover@print">…</div>