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