Add animation for the expand-from-left animation
This commit is contained in:
parent
aaca95f4a2
commit
d02e6100db
1 changed files with 27 additions and 0 deletions
|
|
@ -9,6 +9,33 @@
|
|||
|
||||
|
||||
|
||||
.expand-from-left-enter-active {
|
||||
animation: expand-from-left 1s;
|
||||
transform-origin: left;
|
||||
}
|
||||
.expand-from-left-leave-active {
|
||||
animation: shrink-to-left 1s;
|
||||
transform-origin: left;
|
||||
}
|
||||
@keyframes expand-from-left {
|
||||
0% {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
100% {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
}
|
||||
@keyframes shrink-to-left {
|
||||
0% {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
100% {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Transition for modal card appearing disappearing */
|
||||
.burst-enter-active {
|
||||
animation: burst-in .5s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue