mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
87 lines
1.5 KiB
CSS
87 lines
1.5 KiB
CSS
/* opacity透明过度 */
|
|
.transition-opacity-enter-active,
|
|
.transition-opacity-enter-active {
|
|
transition: opacity 0.4s ease-out;
|
|
}
|
|
.transition-opacity-enter-from,
|
|
.transition-opacity-leave-to {
|
|
opacity: 0;
|
|
}
|
|
|
|
/* zoom-fade */
|
|
.zoom-fade-enter-active,
|
|
.zoom-fade-leave-active {
|
|
transition: transform 0.2s, opacity 0.3s ease-out;
|
|
}
|
|
.zoom-fade-enter-from {
|
|
opacity: 0;
|
|
transform: scale(0.92);
|
|
}
|
|
.zoom-fade-leave-to {
|
|
opacity: 0;
|
|
transform: scale(1.06);
|
|
}
|
|
|
|
/* zoom-out */
|
|
.zoom-out-enter-active,
|
|
.zoom-out-leave-active {
|
|
transition: opacity 0.1s ease-in-out, transform 0.15s ease-out;
|
|
}
|
|
.zoom-out-enter-from,
|
|
.zoom-out-leave-to {
|
|
opacity: 0;
|
|
transform: scale(0);
|
|
}
|
|
|
|
/* fade */
|
|
.fade-enter-active,
|
|
.fade-leave-active {
|
|
transition: opacity 0.2s ease-in-out;
|
|
}
|
|
.fade-enter-from,
|
|
.fade-leave-to {
|
|
opacity: 0;
|
|
}
|
|
|
|
/* fade-slide */
|
|
.fade-slide-leave-active,
|
|
.fade-slide-enter-active {
|
|
transition: all 0.3s;
|
|
}
|
|
.fade-slide-enter-from {
|
|
opacity: 0;
|
|
transform: translateX(-30px);
|
|
}
|
|
.fade-slide-leave-to {
|
|
opacity: 0;
|
|
transform: translateX(30px);
|
|
}
|
|
|
|
/* fade-bottom */
|
|
.fade-bottom-enter-active,
|
|
.fade-bottom-leave-active {
|
|
transition: opacity 0.25s, transform 0.3s;
|
|
}
|
|
.fade-bottom-enter-from {
|
|
opacity: 0;
|
|
transform: translateY(-10%);
|
|
}
|
|
.fade-bottom-leave-to {
|
|
opacity: 0;
|
|
transform: translateY(10%);
|
|
}
|
|
|
|
/* fade-scale */
|
|
.fade-scale-leave-active,
|
|
.fade-scale-enter-active {
|
|
transition: all 0.28s;
|
|
}
|
|
.fade-scale-enter-from {
|
|
opacity: 0;
|
|
transform: scale(1.2);
|
|
}
|
|
.fade-scale-leave-to {
|
|
opacity: 0;
|
|
transform: scale(0.8);
|
|
}
|