mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 20:19:35 +01:00
Add page transition
This commit is contained in:
@@ -2,3 +2,13 @@ body {
|
||||
font-family: 'DM Sans', sans-serif;
|
||||
@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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user