Files
reference/themes/coo/source/css/components/layer.css
T
2022-11-19 11:20:51 +08:00

39 lines
660 B
CSS

@layer components {
.openAnimation {
animation: 200ms cubic-bezier(0, 0, 0.2, 1) 0s 1 normal both running openAnimation;
}
.closeAnimation {
animation: 200ms cubic-bezier(0.4, 0, 1, 1) 0s 1 normal both running closeAnimation;
}
.fadeIn {
@apply animate-in fade-in duration-100;
}
}
@keyframes openAnimation {
from {
transform: scale(0.8);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
@keyframes closeAnimation {
from {
transform: scale(1);
opacity: 1;
}
to {
transform: scale(0.8);
opacity: 0;
}
}