Add reduced-motion media query to decrease animations on low-power devices
cgen-a753a86e08784c10afa22ddc327f2e86
This commit is contained in:
parent
8533b20675
commit
5f15ef410b
1 changed files with 9 additions and 0 deletions
|
|
@ -401,3 +401,12 @@
|
|||
background-position: 200% 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
* {
|
||||
animation-duration: 0.001ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.001ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue