Skip to content

Instantly share code, notes, and snippets.

@alexdiliberto
Created October 29, 2019 01:34
Show Gist options
  • Save alexdiliberto/d63a73185026aeebe95e8449399cd062 to your computer and use it in GitHub Desktop.
Save alexdiliberto/d63a73185026aeebe95e8449399cd062 to your computer and use it in GitHub Desktop.
The prefers-reduced-motion CSS media feature is used to detect if the user has requested that the system minimize the amount of animation or motion it uses.
@media (prefers-reduced-motion: reduce) {
* {
animation: none !important;
transition: none !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment