Academy · Lesson 5 of 6 · · 1 min read

Performance and reduced motion

An animated page should still show its main content fast and respond to taps at once. Animate transform and opacity, load heavy media after the first screen, and honor the reduced-motion setting that some visitors turn on because motion makes them unwell.

By the AnimatedWebs team · Animated websites from zero

The three numbers to watch

  • LCP (Largest Contentful Paint): how long until the main content shows.
  • INP (Interaction to Next Paint): how fast the page reacts to a tap or click.
  • CLS (Cumulative Layout Shift): how much the layout jumps while loading.

Our performance page shows these numbers from real visitors for our templates, plus whether reduced-motion handling and a pause control were detected.

Animate the cheap properties

Browsers can move transform and opacity without redoing the layout. Animating width, top or margin forces layout work on every frame and causes jank.

Respect reduced motion

Operating systems let people ask for less motion. The browser passes that on as the prefers-reduced-motion media query. Treat it as a request to remove large movement, not to remove all feedback.

CSS
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-poster { display: block; }
  * { scroll-behavior: auto; }
}
JavaScript
const reduce = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (reduce) showStillFrame(); else startScene();

A short checklist

  1. 1Headline, text and main button render without waiting for scripts.
  2. 2Images and video have fixed width and height, so nothing jumps.
  3. 3Heavy scenes start after first paint and pause off screen.
  4. 4Reduced motion swaps films and 3D for still frames.
  5. 5Anything that moves for more than five seconds can be paused.

The free templates linked below use mostly CSS and SVG motion, which is a light starting point.

Questions people ask

Does reduced motion mean no animation at all?+

No. Remove large, fast or looping movement. Small fades and color changes that confirm an action are usually fine.

Why should motion be pausable?+

Accessibility guidelines ask for a way to pause, stop or hide motion that starts on its own and lasts more than five seconds.

Can an animated site still score well on Core Web Vitals?+

Yes, if the first screen is light and heavy work starts later. Our performance page shows real-visitor numbers per template.

Sources

Related templates

See the technique running

Play the live demos, open the one you like, and start with a free template or unlock the whole library.