+ 4

How to make full Page scrolling like telsa website?

Can anyone help me knowing how can I make the whole page appear on a single scroll like Tesla website. It takes me to a new page on a single scroll. Scroll-snap-type and scroll-snap-align aren't working for me, are there any other ways for that?

13th May 2021, 4:47 AM
Mr.Kalyankumar
Mr.Kalyankumar - avatar
6 odpowiedzi
+ 1
Use an iframe from HTML5. Suggesting also to use jQuery.
14th May 2021, 12:12 PM
DerickXIGamer
+ 1
hah! after a long time I found this code which I remembered... so, this is the code which you wanted: https://code.sololearn.com/W8oE0oLDdhzo [Edit]: It's not mine
3rd Jun 2021, 3:49 AM
NEZ
NEZ - avatar
0
NEZ already tried, I didn't find the perfect answer, I didn't even find the working answer...
14th May 2021, 3:01 AM
Mr.Kalyankumar
Mr.Kalyankumar - avatar
0
I didn't get what you mean fully, but I think you want something like this. CSS: :root {overflow: scroll;} :root > body { /*or you can try block too!*/ display: inline-block; min-width: max-content; }
18th May 2021, 4:08 PM
🇮🇱 Radin Masiha 🇮🇱
🇮🇱 Radin Masiha 🇮🇱 - avatar
0
Code isn't loading, can u send it again please NEZ
4th Jun 2021, 8:38 AM
Mr.Kalyankumar
Mr.Kalyankumar - avatar