PageSpeedIQ
Back to All Audits
Core Web Vital #3 • Visual Stability

Cumulative Layout Shift (CLS)

Cumulative Layout Shift (CLS) measures how much visible page elements move around unexpectedly during rendering. High CLS causes accidental clicks and user frustration.

Good (Passing)
≤ 0.10

Smooth, rock-solid reading experience without surprise shifts.

Needs Improvement
0.10 – 0.25

Elements jump around as late-loading resources hydrate.

Poor (Failing)
> 0.25

Violates Core Web Vitals; leads to accidental clicks and ranking penalties.

Top 4 Ways to Eliminate Layout Shifts

1. Always Set Width & Height on Media

Include explicit width and height attributes (or CSS aspect-ratio) on images and iframes so the browser reserves space before downloading.

2. Pre-Allocate Ad & Banner Slots

Dynamic display ads and cookie banners cause massive shifts when inserted above existing content. Wrap ad slots in containers with min-height.

3. Prevent Web Font Layout Jumps (FOUT)

Use font-display: optional or match fallback font metric overrides (size-adjust) so text doesn’t reflow when custom fonts load.

4. Use CSS Transform for Animations

Never animate box properties like top, left, or height. Use GPU-accelerated transform: translate(...) to guarantee zero CLS.