Add animations and pin create card input
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
25
src/css/animations.scss
Normal file
25
src/css/animations.scss
Normal file
@@ -0,0 +1,25 @@
|
||||
.fade-enter-active {
|
||||
transition: opacity 250ms;
|
||||
}
|
||||
.fade-enter, .fade-leave-to {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.zoom-appear-active-class,
|
||||
.zoom-enter-active {
|
||||
animation: zoom-in var(--animation-quick);
|
||||
}
|
||||
.zoom-leave-active {
|
||||
animation: zoom-in var(--animation-quick) reverse;
|
||||
will-change: transform;
|
||||
}
|
||||
@keyframes zoom-in {
|
||||
0% {
|
||||
transform: scale(0);
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user