Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 39301b3

Browse files
committed
feat: add global css for page transitions
1 parent 2fdcf04 commit 39301b3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

styles/global.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,14 @@ body {
156156
color: $primary-light !important;
157157
}
158158
}
159+
160+
// global CSS for page transitions
161+
.page-enter-active,
162+
.page-leave-active {
163+
transition: opacity 250ms
164+
}
165+
166+
.page-enter,
167+
.page-leave-active {
168+
opacity: 0
169+
}

0 commit comments

Comments
 (0)