JSFiddle - React, Tailwind, and code Playground

HTML

<div id="round"></div>

CSS

#round{
 position: absolute;
 width: 200px;
 height: 200px;
 border-radius: 50%;
 left: 400px;
 top: 200px;
 background-color: #e1e1e1;
 }

JavaScript

$(document).ready(function(){
    $("#round").click(function(){
        setInterval(function(){
            $("#round").animate(
                {height: 250,
                width: 150,
                top:150,
                left: 425},
                {duration: 300}
                ).
            animate(
                {height: 200,
                width: 200,
                top:200,
                left: 400},
                {duration: 300}
            );
        }, 0);
    });
});