Jump to content
Search Community

pinning content below horizontal scroll so it is visible

LSchneiderman test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

I don't know if my codepen exactly shows this, but it shows on a big screen. 

 

I have a massively wide image that I'm showing with horizontal scroll.

 

BUT I want the content that comes after it to freeze in place under it, *where the user can see it*, until the horizontal scroll is done, and then have the content scroll normally. Right now, the content freezes but it isn't visible. It's below the screen area. So all that shows is the massive image. I want the massive image to take up 50vh and have the content that comes after it be visible but "pinned" underneath. Does that make sense? How can I do that?

 

See the Pen YzRJVBE by lschneiderman (@lschneiderman) on CodePen

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