go-view/src/styles/common/animation.scss
2021-12-19 19:19:46 +08:00

56 lines
708 B
SCSS

// 闪烁
.animation-twinkle {
animation: twinkle 2s ease;
animation-iteration-count: infinite;
opacity: 1;
}
@keyframes twinkle {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
// 淡入淡出
.v-modal-enter {
animation: v-modal-in 0.2s ease;
}
.v-modal-leave {
animation: v-modal-out 0.2s ease forwards;
}
@keyframes v-modal-in {
0% {
opacity: 0;
}
100% {
}
}
@keyframes v-modal-out {
0% {
}
100% {
opacity: 0;
}
}
// 移动动画
.list-complete-item {
transition: all 1s;
}
.list-complete-enter,
.list-complete-leave-to {
opacity: 0;
transform: translateY(30px);
}
.list-complete-leave-active {
position: absolute;
}