mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +00:00
feat: CollapseChild add animation
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
}
|
}
|
||||||
.contentContainer {
|
.contentContainer {
|
||||||
@apply block;
|
@apply block;
|
||||||
|
animation: ContentAnimation 0.5s ease-out;
|
||||||
}
|
}
|
||||||
.toggle {
|
.toggle {
|
||||||
&:before {
|
&:before {
|
||||||
@@ -53,3 +54,13 @@
|
|||||||
.contentContainer {
|
.contentContainer {
|
||||||
@apply hidden pb-16;
|
@apply hidden pb-16;
|
||||||
}
|
}
|
||||||
|
@keyframes ContentAnimation {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(-1.6rem);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user