Jump to content
Search Community

AduITC

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by AduITC

  1. Good morning everyone!

    I'm very sorry to bother you with a trivial question, but I'm totally new to this amazing tool that is GSAP and I'm still struggling to understand its syntax and logic, as I'm not an experienced dev. I really want to learn this wonderful library as it seems very powerful, but for now I'm stuck on small basic things.

     

    I have created the following animation in CSS:

    https://codepen.io/AduITSU/pen/BaLMLYO

     

    Please, ignore the 4s pause between each repeat: it shouldn't be there in the final concept. As you can see, each object-pair gradually changes color to light blue in 1s and then reverts back to its original fill in 1s before the following object-pair does the same thing and so forth.

     

    I've tried to replicate this in GSAP... here's the miserable result:

    https://codepen.io/AduITSU/pen/vYXbXWW

     

    I suppose I must place the "stagger" object somewhere else but I can't figure out where. Plus, I don't know which GSAP easing is the most similar to the CSS normal "ease". Could you please help me guys??

     

    Thank you very much for your patience and kindness!

    See the Pen BaLMLYO by AduITSU (@AduITSU) on CodePen

×
×
  • Create New...