Repeat animation infinitely with a TimelineMax including a pause in GSAP Posted May 28, 2019 Using new Documentation https://greensock.com/docs/TimelineMax/repeat() <div id="rect"></div> var tl2 = new TimelineMax({ repeat: 10 }) .to("#rect", 0.5, { rotation: -10, transformOrigin:"left top" }) .to("#rect", 0.5, { rotation: 10 }) .repeat(-1); See the Pen LoBWgv?editors=1010 by hiteshsahu (@hiteshsahu) on CodePen
Repeat animation infinitely with a TimelineMax including a pause
in GSAP
Posted
Using new Documentation https://greensock.com/docs/TimelineMax/repeat()
See the Pen LoBWgv?editors=1010 by hiteshsahu (@hiteshsahu) on CodePen