<div class="box box1"></div>
<div class="box box2"></div>
.box {
width: 100px;
height: 100px;
margin: 10px 0;
}
.box1 {
background: royalblue;
}
.box2 {
background: orange;
}
gsap.to('.box', {
x: 200
});
This Pen doesn't use any external CSS resources.