diff --git a/src/App.scss b/src/App.scss index 324d57f..3589e72 100644 --- a/src/App.scss +++ b/src/App.scss @@ -17,6 +17,19 @@ } } +.modal-anim { + &-enter-active, + &-leave-active { + transition: all $animDuration $animType; + } + + &-enter-from, + &-leave-to { + transform: translateY(-25%); + opacity: 0; + } +} + .route { margin: 0 0.2em; diff --git a/src/App.vue b/src/App.vue index 79cb88c..d42b58a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,13 @@