Edit in JSRUN

TweenMax.to("#ani1", 2.0, { x: 120}, "a");
TweenMax.to("#ani2", 0.3, { x: -120}, "a");
TweenMax.to("#ani3", 0.5, { x: -120}, "a");
TweenMax.to("#ani4", 0.7, { x: -120}, "a");
TweenMax.to("#ani5", 1.0, { x: -120}, "a");
TweenMax.to("#ani6", 1.3, { x: -120}, "a");
TweenMax.to("#ani7", 1.7, { x: -120}, "a");
<div id="ani1"></div>
<div id="ani2"></div>
<div id="ani3"></div>
<div id="ani4"></div>
<div id="ani5"></div>
<div id="ani6"></div>
<div id="ani7"></div>
@import url('https://fonts.googleapis.com/css?family=Ranga:700');

div{
  background:#888;
  width:20px;
  height:30px;
  margin:5px 125px;
  
}

本项目引用的自定义外部资源