how to move element from one point to another with animation? : <p>I have a div with position absolute. I want to move it from one point to another say from (50,50) to (400,500). the points are change every time I click the button to move the element. I want to use animation for the transition. </p>

<p>How to do it in general solution or is there npm packages does that? </p>
