Edit hero section arrow animation
This commit is contained in:
parent
03155976e6
commit
fd3f7c1838
1 changed files with 4 additions and 1 deletions
|
@ -84,11 +84,14 @@
|
||||||
&-enter-from,
|
&-enter-from,
|
||||||
&-leave-to {
|
&-leave-to {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
transform: translateY(-2rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
&-enter-active,
|
&-enter-active,
|
||||||
&-leave-active {
|
&-leave-active {
|
||||||
transition: opacity 400ms ease-in-out;
|
transition:
|
||||||
|
opacity 400ms ease-in-out,
|
||||||
|
transform 400ms ease-in-out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue