<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,
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdn.tailwindcss.com
  2. https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/gsap.min.js