Hello everyone,
I'm new to GSAP and I'm trying to make a quite simple animation. I have a portfolio section. In this section I have two divs. The first displays the post-thumbnails and the other div displays the details of the post that was selected. the animation that I would like to create is when we click on a thumbnail, the post detail div slides in the viewport and the first div is resized. And when we scroll, the post-container div pin to top until the section end.
I have many problem as you can see on the code pen. I don't know if i got the good approach to achieve this.
It would be very appreciated to have a little help from you
thanks