How can i have my second CSS animation applied to an image move on from the first CSS animation position? The image goes back to its default position and moves to the second animation position from there. I want it to remain in the new CSS animation position, and move on to the second position without it going back to its default position. Here’s a pen.
PS. For some reason the second animation only happens if you resize the pen window. I dont know why but it does that on codepen only