Answer the question
In order to leave comments, you need to log in
How to scroll to the top from the main screen?
Good afternoon!
How is it possible to implement a scroll, like here - https://cisternerne.dk/en/ - after the loader, if you start scrolling from the main screen to the top, then several more screens with content appear there.
Are there any libraries to implement this? A cursory googling didn't turn up any results.
Answer the question
In order to leave comments, you need to log in
cool effect, I think they themselves wrote
on the scroll event they move div.above down through transform:translate(), and div.main is shifted down by 100% height, overflow:hidden for everything so that there are no scrollbars
and also, if you know how to Vue (I I don’t know how), then you can dig deeper into the sources, and maybe even find a ready-made code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question