Jump to content
Search Community

How can I stick the section to the top while I scroll horizontally till the very end ?

Arkaprava101 test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hello ヾ(@⌒ー⌒@)ノ I am new to GSAP . I just want know how I can stick the red-colored section to the top of viewport till we reach the very end of that slider (slider here denotes the class from the code I have provided ). I have tried applying position sticky and top 0 but failed badly😭😭😭. I just want to stick the whole section till the content  of the slider is  exhausted . Also there is a tiny bug at the end (last to cards re-appears for some reason). I don't know what that is  . 😅 And to be honest here , I am stuck at this for almost 2 days now . Can someone please help ? 😭😭 Please . ಥ_ಥ

See the Pen ZEZEPWQ by arkaprava99 (@arkaprava99) on CodePen

Link to comment
Share on other sites

  • Arkaprava101 changed the title to How can I stick the section to the top while I scroll horizontally till the very end ?

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...