Hi,
I'm fairly new to GSAP, but I'm really enjoying experimenting with it.
A hurdle I have come up against is how to hover over a specific div, and have an animation play based on which div is hovered over. I do not want to have to write the animation for each div.
I know the way to do this is to use the jQuery selector 'this', but I can't get it to work for a timeline. I can get it to work using TweenMax.to('') etc, but I want to be able to use play() and reverse(), and so need it to work with a timeline.
Rather than me babbling on, it's probably best to just check the codepen.
Thanks for reading, and I hope you can help!