HTML & CSS · Middle · Question 16 of 75

How should will-change be used?

Explanation

will-change hints the browser to prepare a layer in advance. Used broadly, it eats memory (each layer is a separate texture) and can slow the page down. It's a last resort for a specific performance problem, not a replacement for transition.

Further reading

Problem with a question

HTML & CSS · Middle · question 16

Test yourself

Take the HTML & CSS · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz