Commit 2e85ee9
committed
fix: disable view transition animations when reduced motion is preferred
Adds a CSS rule scoped to the lightbox portal presence that sets
animation-duration: 0s on ::view-transition-old/*-new pseudo-elements
under prefers-reduced-motion: reduce, without affecting other page transitions.1 parent ca34517 commit 2e85ee9
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
| |||
0 commit comments