Jump to content
Search Community

Warren_A

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Warren_A

  1. Hi all!

     

    I'm trying to animate the inner child of a container on hover but the issue I'm having is that the page requires multiple instances of the same class. So for instance I have a main container called "contentContainer" and within that is text with the class "words".

     

    I can't figure out how to animate the "words" of only the "contentContainer" that is being hovered over.

    See the Pen zYadpjz by purplehaze (@purplehaze) on CodePen

  2. Hi guys. I'm really new to GSAP so just playing around trying to see how it all works.

     

    I've created two dots which I would like to have randomly move around the canvas (within a set pixel range) and then loop forever.

     

    I've been able to figure out the pen attached, but know that it is so far from an efficient way of doing this. Any help?

     

    Even being able to set 5-6 x/y points which the objects move to in a loop would be perfect.

     

    See the Pen dyPZwqR by warrenasp (@warrenasp) on CodePen

×
×
  • Create New...