Disable motions on pseudo elements too

This commit is contained in:
Olivier 2020-09-11 16:46:46 +02:00 committed by GitHub
parent 43ae752103
commit 463b1e2191
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,9 @@
/* disable animations styles when reduced rotion is enabled */
@media (prefers-reduced-motion: reduce) {
* {
*,
*::before,
*::after {
animation: none !important;
transition: none !important;
}