Browser & Web Performance · Middle · Question 3 of 75
What is the risk of adding will-change: transform to many elements?
- ✓Correct answer: Each one may get its own compositor layer, costing GPU memory and sometimes making things slower
- 2It disables CSS transitions
- 3It forces a full page reflow on every frame
Explanation
will-change is a hint for elements that are about to animate, not a general speed-up. Overuse leads to layer explosion.