https://i.stack.imgur.com/nRKG1.jpg
Upon clicking the "big cookie" in my game, a popup appears displaying the number of cookies earned (like +276.341 septillion in this image). The popup slowly moves upward and then fades out.
I successfully incorporated the moving up and fading out effect using CSS animations. However, I need to display multiple numbers at once and ensure they appear at the cursor position. How can I clone these elements and achieve the desired functionality?