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