Jump to content
Search Community

Small white gap when unpinned sections

Pauline Brothier test
Moderator Tag

Recommended Posts

Hi everyone!

I try to create a kind of tabs animation, with pinned sections on scroll.

It works fine, but when I scroll back to the top to unfold the tabs, I have a small glitch/white space between each pinned section. 

I don't know how to avoid that. 

Thank you for your help.

See the Pen VwBgjRW by PaulettePaillette (@PaulettePaillette) on CodePen

Link to comment
Share on other sites

I can't replicate the problem either, and I'm on MacOS. 

 

Small thing: end: "center" is not valid. It's supposed to have two values in the string - the first refers to the trigger element, and the second refers to the viewport. Like end: "center top" would mean "when the center of the trigger hits the top of the viewport"

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