From KEYSTONE → my Shorts

Respect prefers-reduced-motion

This page simulates a “camera shake / motion” effect and shows a simple pattern to automatically reduce motion when a user prefers it.

Controls

Motion preference

Tip: change your OS “Reduce motion” setting to test the Auto mode.

System prefers reduced motion:
—
Effective reduced motion:
—
Shake enabled (requested):
—
Shake actually running:
—

Demo

Minimal JS snippet