Course lesson
Use Media Queries to Detect a User Preference for Motion
We can use the media query prefers-reduced-motion to detect a user's preference for motion. This is particularly useful when we have users that may have vestibular disorders. In these cases, we can detect it and set motion speed to zero.
- Duration
- 1 min
- Access
- Free
- Transcript
- Available
We can use the media query prefers-reduced-motion to detect a user's preference for motion. This is particularly useful when we have users that may have vestibular disorders. In these cases, we can detect it and set motion speed to zero.