Jump to content
Search Community

Replicate Moving Pinned Element

Rich Philben Cuer

Recommended Posts

Rich Philben Cuer
Posted

Hello, I'm trying to recreate the pinning section of Webisoft's Services Area.
Here is the link to their website https://webisoft.com/

Here's what I've managed to do so far.
https://jsfiddle.net/RichCuer/jskbhegv/11/

I think I've managed to replicate it, its just one thing that i couldn't wrap my head around is how did they manage to make it so that on smaller viewport heights the parent container of the items seems to be moving upwards as you scroll. This effect is made so that the item content still is readable even if they pinned it in a stacked way.

 

image.png.85038fe65934f8d142a4e4678830a3f2.png

Rich Philben Cuer
Posted

Thank you @Rodrigo. I've already managed to do something like this if you saw my jsfiddle. My concern is how to make it so the pinned elements move if updwards if:

a. The content is too long to fit in the viewport.
b. There are already way too much stacked items on top that the next to be pinned item's content isnt readable anymore.

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