Skip to content
CSS·Intermediate·Conceptual·1 min read

What is a risk of using will-change too broadly?

Short interview answer

Promoting many elements to their own compositor layer consumes GPU memory and can paradoxically slow things down; it should be applied narrowly, close to when the animation starts, and removed afterward.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to CSS animations and transitions

Related questions