Skip to content

Commit 175c69a

Browse files
committed
feat(reduce-motion): remove view-transition
1 parent 61c85b6 commit 175c69a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reduce-motion.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* 2. Remove fixed background attachments when motion is reduced (opinionated).
44
* 3. Remove timed scrolling behaviors when motion is reduced (opinionated).
55
* 4. Remove transitions when motion is reduced (opinionated).
6+
* 5. Remove view-transitions when motion is reduced (opinionated).
67
*/
78

89
@media (prefers-reduced-motion: reduce) {
@@ -17,4 +18,8 @@
1718
transition-delay: 0s !important; /* 4 */
1819
transition-duration: 0s !important; /* 4 */
1920
}
21+
22+
@view-transition {
23+
navigation: none; /* 5 */
24+
}
2025
}

0 commit comments

Comments
 (0)