unni Posted December 3, 2023 Share Posted December 3, 2023 i want the project-container infront of the marquee-container. how to do that ? See the Pen wvNEjZo by unni-krishnan-the-vuer (@unni-krishnan-the-vuer) on CodePen Link to comment Share on other sites More sharing options...
Toso Posted December 3, 2023 Share Posted December 3, 2023 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 1 Link to comment Share on other sites More sharing options...
Rodrigo Posted December 4, 2023 Share Posted December 4, 2023 Yep, @Toso is right, just position and z-index on the CSS seems to fix it. Here is another alternative as well: See the Pen ExrGYPE by GreenSock (@GreenSock) on CodePen Hopefully this helps. Happy Tweening! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now