語法
預期更改will-change
Setting how an element is expected to change in the browser.
Overview
Class | Declarations |
---|---|
will-change:`value` | will-change: `value`;
|
Apply conditionally
Apply styles based on different states using selectors and conditional queries.
<div class="will-change:auto:hover will-change:auto@sm will-change:auto@dark will-change:auto@print">…</div>