While I know that this was once the standard functionality of getBoundingClientRect()
, it appears that I'm actually in a unique situation where I require this feature!
I've created a CSS animation that shifts a div vertically using translate
. But, I need to determine the final position of the div... even before the animation starts.
Is there a clever method to achieve this without knowing the specifics of the animation parameters?