I want the red square to be fixed while scrolling over two sections but I want it to stay inside “2 section wrapper” and dissapear as I scroll down to the last section. In other words; it should stay fixed while scrolling over first 2 sections and dissapear when scrolling over the 3rd section. And I want it to be exactly on the same spot even if I change screen to smaller breakpoints. Is it possible? If so, how?
Here’s the link: