Former-commit-id: 328a8c2f51b53c492f584cf6990ee4794f905abe Former-commit-id: e3614b740d757eead66270283e9ac8a23c6fc4e8 Former-commit-id: 0b8adba2e8e4f0f971dabd7575a542cfdddf9597
27 lines
497 B
SCSS
27 lines
497 B
SCSS
// 过渡动画 横向渐变
|
|
.fade-transverse-leave-active,
|
|
.fade-transverse-enter-active {
|
|
transition: all .5s;
|
|
}
|
|
.fade-transverse-enter {
|
|
opacity: 0;
|
|
transform: translateX(-30px);
|
|
}
|
|
.fade-transverse-leave-to {
|
|
opacity: 0;
|
|
transform: translateX(30px);
|
|
}
|
|
|
|
// 过渡动画 缩放渐变
|
|
.fade-scale-leave-active,
|
|
.fade-scale-enter-active {
|
|
transition: all .5s;
|
|
}
|
|
.fade-scale-enter {
|
|
opacity: 0;
|
|
transform: scale(1.2);
|
|
}
|
|
.fade-scale-leave-to {
|
|
opacity: 0;
|
|
transform: scale(0.8);
|
|
} |