Browser & Web Performance · Senior · Question 13 of 75

What does content-visibility: hidden do differently from display: none?

Explanation

Useful for inactive tabs or virtualized views that will be shown again; display: none throws away layout boxes.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 13

Test yourself

Take the Browser & Web Performance · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz