Add page transition

This commit is contained in:
2024-02-04 19:18:45 +01:00
parent 69973f67d1
commit 1880b68b6e

View File

@@ -2,3 +2,13 @@ body {
font-family: 'DM Sans', sans-serif; font-family: 'DM Sans', sans-serif;
@apply flex h-full flex-col bg-zinc-50 dark:bg-black; @apply flex h-full flex-col bg-zinc-50 dark:bg-black;
} }
.page-enter-active,
.page-leave-active {
transition: all 0.4s;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
transform: scale(0.97);
}