Jump to content
Search Community

orca_rohit

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by orca_rohit

  1. 8 minutes ago, akapowl said:

     

    Hey @orca_rohit

     

    I'm not sure I understand, but I don't think it starts earlier than it should.

    To me it looks like more of a CSS layout question.

     

    Since you did not specify a height on your sections before the image-comparison but only a min-height, that is what your sections will be set to.

    To me the ScrollTrigger part looks like it's doing what it is supposed to.

     

    But maybe I am misunderstanding?

     

     

    @akapowl when I posted this I didn't checked my css file. but after a while i got that it was happening due to css. so I changed the css and marked that codepen as a solution.

     

    • Like 1
  2. hi I saw an example of image comparision in gsap docs. I liked it and thought to customize it on my own way.

    Though i was able to customize it in my own idea, I noticed that the elements are overlapping the sections and the animation is starting very early than it should.

    Kindly help.

     

    Sorry Guys it was just a css issue, but still i would like your opinions if this bit i got properly.

    See the Pen zYoMJNa by orca_rohit (@orca_rohit) on CodePen

  3. On 3/9/2021 at 12:13 AM, ZachSaucier said:

    What specific question about GSAP do you have?

    We want to achieve the same thing using Gsap.

    Things we want to do here is.

    1.pin the element when it comes to viewport.

    2. complete the animation

    3.scroll the next section when the animation is complete

  4. 12 minutes ago, ZachSaucier said:

     

    That account is of my college. The question he asked there was achieved. but now we want to use GSAP to achieve this animation as we want to pin the section and when the animation is complete then the other sections to scroll up.

    Also sharing the new codepen link that we have tried to make.

    See the Pen NWbzpYo by tejasks_opus (@tejasks_opus) on CodePen

  5. Hi,

    I am very new to gsap, so please help me out

    There's a part of the design the section is having a text in center and the background image.

    What I want to achieve using GSAP is to freeze the section when it comes to the top of viewport and scroll the background image while the center text is also fixed in the middle of the section.When the background image reaches the last scroll then the next section scroll over it.

    Here is a video link for better understanding.

    Click here to see the reference video

×
×
  • Create New...