Jump to content
Search Community

Pin element to top

ysk test
Moderator Tag

Go to solution Solved by mvaneijgen,

Recommended Posts

  • Solution

Hi @ysk welcome to the forum!

 

53 minutes ago, ysk said:

Pin it when element's top side reaches the top of the browser viewport.

You've got that working right!? And I think now you just want it to pin for as long as there is content? 

 

I've added a endTrigger: property to be your .Calendar element and then set the end: to be the bottom of that element. Hope it helps and happy tweening! 

 

See the Pen zYyLqaM?editors=1010 by mvaneijgen (@mvaneijgen) on CodePen

  • Like 2
  • Thanks 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...