Disable motions on pseudo elements too
This commit is contained in:
parent
43ae752103
commit
463b1e2191
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,9 @@
|
||||||
|
|
||||||
/* disable animations styles when reduced rotion is enabled */
|
/* disable animations styles when reduced rotion is enabled */
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
* {
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
animation: none !important;
|
animation: none !important;
|
||||||
transition: none !important;
|
transition: none !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue