<div id="box" class="box w-[50px] h-[50px] bg-blue-600 rounded-lg"></div> <hr class="my-3"/>
gsap.to('#box', { duration: 10, x: 500, });
This Pen is owned by Ray on CodePen.
See more by @hsiangfeng on CodePen
This Pen doesn't use any external CSS resources.