Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 4dff0e4

Browse files
Merge pull request #29 from venikx/patch-1
Reduce motion of ::before and ::after pseudo-elements
2 parents 372c2cb + f1ab7b6 commit 4dff0e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/reset.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ img:not([alt]) {
6969

7070
/* Remove all animations and transitions for people that prefer not to see them */
7171
@media (prefers-reduced-motion: reduce) {
72-
* {
72+
*,
73+
*::before,
74+
*::after {
7375
animation-duration: 0.01ms !important;
7476
animation-iteration-count: 1 !important;
7577
transition-duration: 0.01ms !important;

0 commit comments

Comments
 (0)