TimelineToast.scss
512 Bytes
/* components/TimelineToast/TimelineToast.wxss */
.showYDMini{
position: fixed;
bottom: 4px;
right: 32rpx;
z-index: 10088;
.toast{
width: 300rpx;
height: 134rpx;
animation: move-toast 1.5s infinite cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
}
@keyframes move-toast {
10%,
90% {
transform: translateY(-1px);
}
20%,
80% {
transform: translateY(2px);
}
30%,
50%,
70% {
transform: translateY(-4px);
}
40%,
60% {
transform: translateY(4px);
}
}