<div id="container">
  <span></span>
  <span></span>
  <span></span>
  <span></span>
</div>
@import "compass";
body, html{
  background:black;
 width:100%;
  height:100%;
  margin:0;
  padding:0;
  overflow:hidden;
}
#container{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:160px;
  height:40px;
  display:block;
  font-size: 0;
  overflow:hidden;
  white-space: nowrap;  
}
span{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#4df5c4;
  display:inline-block;
  position: relative;
  left: -60px;
  margin-right: 20px;
}
View Compiled
var tl = new TimelineMax({paused:true}); 

tl.staggerFromTo('span', 0.5, {x:0}, {x:60}, -0.15);

//now use another tween to actually animate the playhead position of the paused timeline! We'll repeat infinitely.
TweenMax.to(tl, 1, {time:1, repeat:-1, ease:Linear.easeNone});
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

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