Merge pull request #29 from venikx/patch-1

Reduce motion of ::before and ::after pseudo-elements
This commit is contained in:
Andy Bell 2020-11-06 19:33:39 +00:00 committed by GitHub
commit 4dff0e42dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,9 @@ img:not([alt]) {
/* Remove all animations and transitions for people that prefer not to see them */ /* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) { @media (prefers-reduced-motion: reduce) {
* { *,
*::before,
*::after {
animation-duration: 0.01ms !important; animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important; animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important; transition-duration: 0.01ms !important;