Skip to content

Instantly share code, notes, and snippets.

@alshdavid
Created May 11, 2019 07:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alshdavid/511f3bcd4ecb6b064a2826dff817ef60 to your computer and use it in GitHub Desktop.
Save alshdavid/511f3bcd4ecb6b064a2826dff817ef60 to your computer and use it in GitHub Desktop.
.router-view.fade {
opacity: 0;
transition: opacity .5s;
}
.router-view.fade-enter-first {
position: static;
transition-duration: 0s !important;
}
.router-view.fade-enter {
opacity: 1;
position: absolute;
top: 0;
left: 0;
right: 0;
}
.router-view.fade-enter-done {
opacity: 1;
}
.router-view.fade-exit {
opacity: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment