Jump to content
Search Community

JuliannaGreen

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by JuliannaGreen

  1. Hey guys,

     

    I am totally new to GSAP (I just started using it last night), not to mention a junior developer in general.

     

    I want to animate some elements on a page to move accross the page and fade out, all with the same class.

     

    The part I am confused about though, is that in order for the elements to move they must be given a position property of absolute or fixed. (At least that's what the greensock tutorial said I had to do). When I apply this position property to the elements with the class I want to animate, they all stack on top of each other in the same place. 

     

    How do I keep the elements from starting and ending at the same place in the window with this css property applied?

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

×
×
  • Create New...