Syntax

Background Attachment

Setting whether position of background image is fixed when scrolling.

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

Overview

ClassDeclarations
background-attachment:valuebackground-attachment: value;
bg:fixedbackground-attachment: fixed;
bg:localbackground-attachment: local;
bg:scrollbackground-attachment: scroll;

Conditionally apply

Apply styles based on different states using selectors and applying conditionally.

<div class="background-attachment:scroll:hover background-attachment:scroll@sm background-attachment:scroll@dark background-attachment:scroll@print"></div>
Design Token
Colors

Customizing color variables or starting with the crafted palette.

© Aoyue Design LLC.