Jump to content
Search Community

scrollTrigger pin overlap

unni test
Moderator Tag

Recommended Posts

not sure if that's what you want i used z-index here to fix the overlap problem and also changed the end trigger for the pin now it is perfectly aligned with the section3 , before that, it was overlapping it a little, also some height for the marquee container to prevent this height cut and the marquee i centered it with position absolute , take care from pinned elements inside a container that uses display:flex creating some weird behaviour some times 

 

 

See the Pen zYeMwaM?editors=1010 by ahmed-attia (@ahmed-attia) on CodePen

 

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