Skip to content

Not affiliated with any operatorCasino website performanceCore Web VitalsiGaming UX engineering

Sources checked Oct 26, 2026UK · US · CA · AU

CasinoPerflyn.onlineCasino performance & Core Web Vitals lab

Core Web Vitals

Cumulative Layout Shift in Casino Interfaces

CLS measures how much visible content moves unexpectedly. It reports the largest burst of layout shifts in a visit, and good is 0.1 or less at the 75th percentile. Casino pages shift when banners, consent prompts, review widgets or payment frames arrive late and push content down.

At a glance

  • Each shift scores impact fraction multiplied by distance fraction.
  • Shifts are grouped in session windows: less than 1 second apart, at most 5 seconds long. CLS is the worst window.
  • Shifts within 500 milliseconds of a user input are treated as expected and excluded.
  • Reserving space for images, ads, embeds and late content prevents most shifts.

How CLS is calculated

web.dev defines CLS as "a measure of the largest burst of layout shift scores for every unexpected layout shift" during the life of a page. Each shift is scored as:

layout shift score = impact fraction × distance fraction

The impact fraction is the share of the viewport affected by the moving elements; the distance fraction is how far they moved relative to the viewport. Shifts are grouped into session windows, with "less than 1-second in between each shift and a maximum of 5 seconds for the total window duration". The window with the highest total is the page's CLS.

Shifts that happen within 500 milliseconds of a click, tap or key press carry the hadRecentInput flag and do not count. Opening an accordion when someone taps it is expected movement. A banner that drops in two seconds later is not.

Causes web.dev lists, mapped to casino components

Common causes from web.dev "Cumulative Layout Shift" and "Optimize Cumulative Layout Shift", with casino examples
CauseCasino exampleFix
Images or videos without dimensionsGame tiles and banners with no width and heightSet width and height, or CSS aspect-ratio
Fonts that render larger or smaller than the fallbackDisplay fonts in promotional headingsMatched fallback metrics, font-display choice, preload
Ads or widgets that resize themselvesReview carousels, social embeds, odds widgetsReserve a minimum height
Content added above existing contentConsent prompts and promotional strips inserted at the topOverlay, or reserve the slot from the first paint
Dynamically injected content without dimensionsPayment frames and personalized modulesFixed-size container, skeleton of the same size

Why the whole visit matters

CLS keeps counting while the page is open. Infinite scroll in a game lobby, a "load more" button that inserts content above the current position, or a live odds module that grows as markets open can all add shifts long after the first load. Test the page by scrolling and waiting, not only by loading it.

web.dev also notes that pages restored from the back/forward cache do not repeat their load-time shifts, so keeping pages eligible for the bfcache helps CLS. See caching and delivery.

A quick review routine

  1. Record a Performance trace in Chrome DevTools while loading, scrolling and waiting on the lobby. DevTools marks layout shifts in the recording and identifies the elements that moved.
  2. List each shifting element against the table above.
  3. Reserve space for it, then repeat the trace on a throttled mobile profile.
  4. Confirm the result in field data; the step by step fixes are in the CLS remediation guide.
What we did not test. We have not measured CLS on any operator's site. The examples apply web.dev's documented causes to common casino components.

Questions

Does a carousel that slides count as layout shift?

Not when it moves content with CSS transforms, which do not change layout. web.dev recommends animating with transform rather than properties such as top and left.

Is a cookie banner always a CLS problem?

No. A banner that overlays the page does not move other content. One inserted at the top of the document after the first paint pushes everything down and does count.

Why is CLS a score and not a time?

Because it measures movement. The score combines how much of the viewport moved with how far it moved, so it has no unit.

Sources

  1. web.dev, Cumulative Layout Shift (CLS), last updated April 12, 2023.
  2. web.dev, Optimize Cumulative Layout Shift, last updated February 7, 2025.
  3. web.dev, How the Core Web Vitals metrics thresholds were defined, last updated May 7, 2025.

Related research

Questions about casino site performance?

Send a correction, a source or a research question. A person reads every message.

Contact the editors hello@casinoperflyn.online