css.properties

will-change

Hints which properties will change to optimize rendering.

Formal Syntax

will-change = auto | <animateable-feature># <animateable-feature> = scroll-position | contents | <custom-ident>

See specification

JavaScript Access

// Access via element.style element.style.willChange = "auto";

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
will-change36369.179
auto36369.179
contents36369.179
scroll-position36369.179

Related Properties