Viewport height
As you can see in the image i have different sections . I want to show one section on my screen at a time on scroll then new section will come how can i do this for different screen sizes do have to the sizes of the elements according to the screen size .
3 Replies
Personally I think it's so overrated, I'm seeing lots of this it seems this week... Let your content determine height. Why does it need to be all matching viewport?
But I'd probably do it like this https://codepen.io/b1mind/pen/PojdyQz
Svh or lvh with a 100% fallback