Jump to content
Search Community

kap

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by kap

  1. I want to create a wave movement. A couple of boxes jump up and down one after the other. FromTo does not lead to right result, because the boxes don't go to their previous position.

     

     

     

     

            TweenMax.staggerFromTo(".box", 1, {
                opacity: 0.6,
                y: -20
            }, {
                opacity: 0.2,
              y: 0
            },, 0.2);

    See the Pen WbzQpW by anon (@anon) on CodePen

×
×
  • Create New...