Merge pull request #29 from venikx/patch-1
Reduce motion of ::before and ::after pseudo-elements
This commit is contained in:
commit
4dff0e42dd
1 changed files with 3 additions and 1 deletions
|
@ -69,7 +69,9 @@ img:not([alt]) {
|
|||
|
||||
/* Remove all animations and transitions for people that prefer not to see them */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
* {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
|
|
Loading…
Reference in a new issue