Background

Background

Style syntax for setting all background style properties at once.

🚧This page is still under construction and some content may not be complete.

Overview [sr-only]

ClassDeclarations
background:param / bg:parambackground: param
background:param, / bg:param,background: param,

Conditionally apply

Apply styles in different states using selectors, media queries, etc.

<div class="bg:url(\'…\');center/cover:hover bg:url(\'…\');center/cover@sm bg:url(\'…\');center/cover@dark bg:url(\'…\');center/cover@print"></div>
PREVIOUS
Cursor

Style syntax for setting the mouse cursor style.

NEXT
Background Attachment

Style syntax for setting whether position of background image is fixed when scrolling.

MIT License © Aoyue Design LLC.