Background

Background Origin

Style syntax for setting the background's origin.

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

Overview [sr-only]

ClassDeclarations
background-origin:originbackground-origin: origin
bg:borderbackground-origin: border-box
bg:contentbackground-origin: content-box
bg:paddingbackground-origin: padding-box

Conditionally apply

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

<div class="background:border:hover background:border@sm background:border@dark background:border@print"></div>
PREVIOUS
Background Image

Style syntax for setting background images on an element.

NEXT
Background Position

Style syntax for setting the initial position for background image.

MIT License © Aoyue Design LLC.