Skip to content

Instantly share code, notes, and snippets.

@yuschick
Created January 21, 2022 22:13
Show Gist options
  • Save yuschick/2cb948d95ded74a53533112868a2edb9 to your computer and use it in GitHub Desktop.
Save yuschick/2cb948d95ded74a53533112868a2edb9 to your computer and use it in GitHub Desktop.
Prefers Reduced Motion
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment