How to create a button with different types of animations
<p>I'm totally novice in animation. Please find the below GIF represenation for the same.</p>

<p><a href="https://i.stack.imgur.com/iMRM2.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iMRM2.gif" alt="GIF"></a> </p>

<p>How to create a animated button like below GIF image ? I am not aware how to start this animation.</p>

<p>Please help me in creating this animation</p>

<p>Are there any third part libraries are code available? if so could you please healp me on this.</p>