view transition

This commit is contained in:
2025-07-26 10:57:59 -07:00
parent b119c73610
commit 3110fae4a9
2 changed files with 19 additions and 2 deletions

View File

@@ -111,3 +111,20 @@ div.nav {
color: #c8f;
}
}
@view-transition {
navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
animation: fade 0.3s ease both;
}
@keyframes fade {
from {
opacity: 0;
to {
opacity: 100%;
}
}