HTML & CSS · Middle · Question 18 of 75

What does the CLS (Cumulative Layout Shift) metric measure?

Explanation

CLS measures visual stability: how much content "jumps". A good value is under 0.1. Time to the largest element is LCP, responsiveness is INP. The main causes of shifts are images without dimensions, banners and ads without reserved space, and web fonts.

Further reading

Problem with a question

HTML & CSS · Middle · question 18

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