mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 21:44:45 +03:00
39 lines
660 B
CSS
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;
|
|
}
|
|
}
|