mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 22:55:13 +00:00
53 lines
1.0 KiB
CSS
53 lines
1.0 KiB
CSS
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
.container {
|
|
text-align: center;
|
|
padding-top: 200px;
|
|
font-size: 20px;
|
|
transition: all .5s cubic-bezier(.55,0,.1,1);
|
|
}
|
|
|
|
.page-enter-active, .page-leave-active {
|
|
transition: opacity .5s
|
|
}
|
|
.page-enter, .page-leave-active {
|
|
opacity: 0
|
|
}
|
|
|
|
.layout-enter-active, .layout-leave-active {
|
|
transition: opacity 0.5s
|
|
}
|
|
.layout-enter, .layout-leave-active {
|
|
opacity: 0
|
|
}
|
|
|
|
.bounce-enter-active {
|
|
animation: bounce-in .5s;
|
|
}
|
|
.bounce-leave-active {
|
|
animation: bounce-out .5s;
|
|
}
|
|
@keyframes bounce-in {
|
|
0% { transform: scale(0) }
|
|
50% { transform: scale(1.5) }
|
|
100% { transform: scale(1) }
|
|
}
|
|
@keyframes bounce-out {
|
|
0% { transform: scale(1) }
|
|
50% { transform: scale(1.5) }
|
|
100% { transform: scale(0) }
|
|
}
|
|
|
|
.slide-left-enter,
|
|
.slide-right-leave-active {
|
|
opacity: 0;
|
|
transform: translate(30px, 0);
|
|
}
|
|
.slide-left-leave-active,
|
|
.slide-right-enter {
|
|
opacity: 0;
|
|
transform: translate(-30px, 0);
|
|
}
|