r/csshelp • u/iminsert • May 25 '23
Resolved how to animate without waiting for a until the most recent update
hello, i'm currently working on the following code for a simple animation. the issue i'm currently having is that with this code, the translate y won't update until 25%, or until 75%, which makes the animations a little janky.
i'm hoping to have the translate Y glide between 0% and 50%, and back at 100%, any way to do this without needing to manually enter each value?
{
0% }
25% }
50% }
75% }
100% }
}
1
Upvotes
2
u/be_my_plaything May 25 '23
https://codepen.io/NeilSchulz/pen/ExdMpvE
Just use to separate animations...