Jump to content
Search Community

d.k

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by d.k

  1. Thank you for the tip and fast response. It's just what I needed and works perfectly with callbacks! ❤️
  2. Hello, I'm new to GSAP and very happy with it so far. I have an interesting problem and I can't find any codepens or topics containing useful info. Actually I am not sure if this is even possible. What I'm trying to do: Elements are fading in inside a section, when you scroll to it. When you scroll past it the elements fade out again and when you go back up they fade in again. I'm using stagger to animate the elements inside the section. Is it possible on scroll up to reverse the stagger effect, I would like the elements to fade in from the last one to the first, but only when scrolling up. I know that using a negative value for the stagger does that, but I'm not sure if you can combine it with the toggleActions somehow. All ideas are welcome, thank you :)
×
×
  • Create New...