Use better page transistions

This commit is contained in:
2026-03-22 21:54:24 +01:00
parent e6e17d880e
commit d5fb608091
8 changed files with 21 additions and 19 deletions

View File

@@ -5,8 +5,10 @@
transition: color .4s ease, background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
@view-transition {
navigation: auto;
@media (prefers-reduced-motion: no-preference) {
@view-transition {
navigation: auto;
}
}
::view-transition-group(root) {