Performance

Will Change

Style syntax for setting how an element is expected to change in the browser.

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

Overview [sr-only]

ClassDeclarations
will-change:valuewill-change: value

Conditionally apply

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

<div class="will-change:auto:hover will-change:auto@sm will-change:auto@dark will-change:auto@print">…</div>
PREVIOUS
Contain

Style syntax for providing performance benefits by limiting calculations of layout.

NEXT
Overscroll Behavior

Style syntax for setting what a browser does when reaching the boundary of a scrolling area.

MIT License Ā© Aoyue Design LLC.