Syntax
will-change
Setting how an element is expected to change in the browser.
Overview
Class | Declarations |
---|---|
will-change:value | will-change: value;
|
Conditionally apply
Apply styles based on different states using selectors and applying conditionally.
<div class="will-change:auto:hover will-change:auto@sm will-change:auto@dark will-change:auto@print">…</div>