Jump to content
Search Community

Pin multiple element on a section pin

Djoo test
Moderator Tag

Go to solution Solved by Djoo,

Recommended Posts

Hi everyone this is my first post ! I really try hard to find a way to do it properly but i find nothing ... so i'm here for help 😰

I really want to reproduce this animation : https://okcest.cool/
image.thumb.png.34ea93e8eb6942ba1dfabaee2b09d365.png

I just want the animation where the section get "pin" and when all the card come 1 by 1 (i don't want the animtion after all of that)

My html is like:

<section>
      <div class="left">
            Random text
      </div>
     <div class="right">
           <div class="card"></div>

           <div class="card"></div>

           <div class="card"></div>

           <div class="card"></div>

           <div class="card"></div>

    </div>
</section>

Link to comment
Share on other sites

Hi @Djoo, this is just a starting point @Rodrigo suggested. It is now up to you to get it to a state you're happy with.

 

Everything is possible with GSAP, the only part holding you back is your creativity. Personally I use codepen to try out new ideas, I usually then just keep forking my pen to try out different ideas, either because I think it could be better or my original idea was not working. Usually at version 10 I got something I'm happy with. Creating forks of your pen will allow you to fall back at earlier ideas if something new is not working.

 

If you're suck, just post back here with your minimal demo of what you're stuck on. Hope it helps and happy tweening! 

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...