CSS will-change Property

Beginner
4 examples
Updated: Nov 2026

Definition and Usage

The will-change property hints that an element will change specific properties soon. Browsers can promote layers early. Overuse wastes memory, so apply it only for known animations.

CSS Syntax

syntax.css
.card:hover {
  will-change: transform;
}

Property Values

ValueEffectTry it
autoNo special hintTry it
transformExpect transform changesTry it
opacityExpect opacity changesTry it
scroll-positionExpect scrolling changesTry it

CSS Examples

Basic use

example.css
.card:hover {
  will-change: transform;
}
Try It Yourself

Browser Support

will-change is a CSS property.

✓ CSS

will-change

Check support for your audience.

92% Modern browsers
Google Chrome Recent
Full support
Mozilla Firefox Recent
Full support
Apple Safari Recent
Full support
Microsoft Edge Recent
Full support
will-change Modern support

Bottom line: Prefer progressive enhancement when support varies.

Frequently Asked Questions

The will-change property hints that an element will change specific properties soon. Browsers can promote layers early. Overuse wastes memory, so apply it only for known animations.
Use it with progressive enhancement and check current browsers for edge cases.
Read the definition, try the first example, then compare related properties.
Sometimes. Prefer modern properties when browser support meets your audience.
Open the Try it demos and change one value at a time.

Next: word-break

Continue with zoom.

word-break →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

4 people found this page helpful