Jump to content
Search Community

Melcarthus

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Melcarthus

  1. I'm new to greensock, and I realy like it sofar.

     

    Here is my problem.

     

    I have 2 div.product's and inside are 2 children, one needs to animate to the lef and one needs to animate to the right.

    I want this to happen for every .product div , but in sequence. Right now the animation starts with both the .left divs, and after that the .right divs start to animate.

    Is it possible to index the .product divs? and iterate over each one, no matter how many .products div there are? I would like to stagger them in sequence but I can't figure it out and I hope I'm explaining myself right...

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

×
×
  • Create New...