prefers-reduced-motion

A setting some visitors turn on because motion makes them dizzy; your CSS can respect it.

Also called: reduced motion, accessibility motion

Domain
Languages
Type
Term
Source
General
Languages
CSS, HTML

Example

Visitors with reduced motion turned on see the page without the fade-in effects.

In code

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

Learn more

Related terms

Added 2026-11-30 · Last reviewed 2026-11-30