Improve animation

This commit is contained in:
grandeljay 2022-06-14 19:11:58 +02:00
parent 98a77f6410
commit 73331e6eda

View file

@ -17,14 +17,14 @@
@keyframes text-list {
0% {
position: relative;
bottom: 0;
opacity: 1;
bottom: 0;
}
100% {
opacity: 0;
bottom: calc(1em * 1.4285 + 0.91666667em * 2 + 2px);
opacity: 0;
}
}
@ -34,13 +34,13 @@
@keyframes text-this {
0% {
position: relative;
bottom: 0;
opacity: 0;
bottom: 0;
}
100% {
bottom: calc(1em * 1.4285 + 0.91666667em * 2 + 3px);
opacity: 1;
bottom: calc(1em * 1.4285 + 0.91666667em * 2 + 2px);
}
}