Use Media Queries to Detect a User Preference for Motion

InstructorJhey Tompkins

Share this video with your friends

Send Tweet

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.