Share Posted April 20, 2022 Hello everyone, I can't figure out how to do this: I have regular blocks at the top and bottom of the content, with two trigger blocks in between. I need that when I scroll the second block, there are no indents above and below, similarly with the third block. I will be grateful if you help. See the Pen RwxvBjL by Nagrik (@Nagrik) on CodePen Link to comment Share on other sites More sharing options...
Solution Solution Share Posted April 20, 2022 Hi there! If you need to pin sections without spaces underneath or above you need to wrap *all* the elements that need to be pinned in a wrapper. like so See the Pen YzYBRPG?editors=1010 by GreenSock (@GreenSock) on CodePen 3 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