Hey everyone! Quick animation question… I feel like I’ve seen someone do a tutorial on this and I think I’m close, but I just cant get this to work. Basically as a user scrolls into a section I have a overflow:hidden div move in my fixed nav that reveals the number for that section.
I have the animation working on the way down, the first time you enter the section – but it doesn’t work when you scroll back up and go back to a section. I’m triggering with a div inside of each section named “.scrollTick-trigger”.
See the gif below for the ticker in the top right I’m referencing.
Any help would be appreciated , thanks!
Tagging @PixelGeek and @timothy1643 because I feel like someone made a tutorial one time on this and I can’t seem to find it or rmbr who it was. Thanks!
Hey everyone! Quick animation question… I feel like I’ve seen someone do a tutorial on this and I think I’m close, but I just cant get this to work. Basically as a user scrolls into a section I have a overflow:hidden div move in my fixed nav that reveals the number for that section.
I have the animation working on the way down, the first time you enter the section – but it doesn’t work when you scroll back up and go back to a section. I’m triggering with a div inside of each section named “.scrollTick-trigger”.
See the gif below for the ticker in the top right I’m referencing.
Any help would be appreciated , thanks!
Tagging @PixelGeek and @timothy1643 because I feel like someone made a tutorial one time on this and I can’t seem to find it or rmbr who it was. Thanks!