Files
dcalc/frontend/src/style/animation.scss
T
2025-03-10 15:10:03 +08:00

56 lines
640 B
SCSS

@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes zoom-in {
from {
opacity: 0;
transform: scale(0.3);
}
to {
opacity: 1;
}
}
@keyframes zoom-out {
0% {
opacity: 1;
}
50% {
opacity: 0;
transform: scale(0.3);
}
100% {
opacity: 0;
}
}
@keyframes dropdown-enter {
from {
max-height: 0;
opacity: 0;
}
to {
max-height: 160px;
opacity: 1;
transform: translateY(0);
}
}
@keyframes dropdown-leave {
from {
opacity: 1;
max-height: 160px;
transform: translateY(0);
}
to {
opacity: 0;
max-height: 0;
}
}