We can measure layout stability with a metric called Cumulative Layout Shift (CLS). Unlike time-based metrics, CLS uses a decimal scoring system that quantifies how far elements have shifted in the viewport from their previous position (http://bkaprt.com/rjs39/03-05). A good CLS score is 0.1 or less, but this could always change as some user-experience metrics may evolve over time. In practice, the closer you can get this metric to 0, the better off you’ll be.1064-1068 ↱
![Responsible JavaScript](/_next/image?url=https%3A%2F%2Fstorage.googleapis.com%2Fsawyer-highlights.appspot.com%2Fvolume%252Fcovers%252F978-1-952616-11-2.jpeg&w=3840&q=75)
Responsible JavaScript
Jeremy Wagner