Replace animation styles with new technique
This commit is contained in:
parent
279ec0bdff
commit
0fde6c58a5
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue