<div class="box"></div>
.box{
  width:50px;
  height:50px;
  background: tomato;
}
gsap.from(".box" , {
  y:80,
  opacity:0,
  duration:2
})

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/gsap/3.6.0/gsap.min.js