<div id="id" class="box blue"></div>
/* Global styles come from external css https://codepen.io/GreenSock/pen/gOWxmWG.css*/ body { display: flex; align-items: center; justify-content: space-around; min-height: 100vh; flex-direction: column; overflow: hidden; } 
gsap.to("#id", {x: 150, duration: 1}); gsap.to("#id", {y: 100, duration: 1, delay: 1}); //затримка в 1 секунду gsap.to("#id", {borderRadius:'50%', duration: 1, delay: 2}); //затримка 2 секунду gsap.to("#id", {x: -150 ,duration: 1, delay: 3}); //затримка 3 секунду

External CSS

  1. https://codepen.io/GreenSock/pen/gOWxmWG.css

External JavaScript

  1. https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/gsap-latest-beta.min.js