Replace animation styles with new technique

This commit is contained in:
Carbon Copy 2019-10-04 05:43:53 +10:00
parent 279ec0bdff
commit 0fde6c58a5

View file

@ -67,10 +67,11 @@ select {
font: inherit;
}
/* Remove transitions for people that prefer not to see them */
/* Animations should be handled manually */
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}