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.
pin top and bottom container on scroll
in GSAP
Posted
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