ray-template/src/styles/animate.scss
2022-11-22 17:13:45 +08:00

15 lines
201 B
SCSS

.fade-enter-active,
.fade-leave-active {
transition: all 0.35s;
}
.fade-enter-from {
opacity: 0;
transform: translateX(-30px);
}
.fade-leave-to {
opacity: 0;
transform: translateX(30px);
}