hey,
i have tried several solutions so far, but still no luck. Any help would be really appreciated. #fingerscrossed
What I'm trying to do, is that I have sections below each other, not layered. they should scroll up, should be pinned on top and the height of the content should be increased while scrubbing down. however, due to the fact that the height is initially not known, the scroll triggers are wrong...obviously. All examples I could find were layered sections. however, I need to have them in relative order.
I'd like to have the effect, that scrolling should increase the height (best with same scrubbing speed no matter of the end height) of the content and push the upper part (title, subtitle and previous section up). When the section is done, the next one should appear from the bottom and push the previous one up. I made a quick codepen to give a a glance of what I tried so far (setting height to 0 after ScrollTrigger, using .FromTo().
im out of ideas here...
Best Regards,
Daniel