Syntax

background

Setting all background style properties at once.

Overview

ClassDeclarations
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>

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy