dedeinc
Community Answers
-
dedeinc's post in Expand the video to the entire viewport according to scrolling was marked as the answer
Hi, @mvaneijgen!
Thank you for your idea! I've fixed the code that to keep the center of river video on the viewport until to reach the section 2.
(In the default viewport of code pen, the image shrinks as the screen height decreases, I have set the overall width of the element narrower)
See the Pen wvNVqdK by tozpsqam-the-animator (@tozpsqam-the-animator) on CodePen