Pure CSS Horizontal Website Tutorial for Beginners

Pure CSS Horizontal Website Tutorial for Beginners

Red Stapler

4 года назад

58,261 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Owen Luna
Owen Luna - 16.06.2023 22:31

Very practical and easy to apply. Thank you very much!!!

Ответить
Yugam Arora
Yugam Arora - 12.11.2022 11:17

Thank you!

Ответить
christofer i
christofer i - 27.10.2022 14:26

In this content how to add a menu ?

Ответить
戴丞萱
戴丞萱 - 08.06.2022 13:37

Amazing tutorial!! Thanks~

Ответить
Sabrina Jaynnah
Sabrina Jaynnah - 05.04.2022 20:59

the tutorial is very good, but I had a question: what if I want to scroll a section horizontally and another section vertically within the same page, how would I control it?

Ответить
Mood
Mood - 08.01.2022 19:44

Thank you so much !

Ответить
CyberGolem
CyberGolem - 19.12.2021 00:47

You are the man! TY.

Ответить
OlivaDev
OlivaDev - 25.11.2021 03:53

Broo you are amazing

Ответить
Bongo
Bongo - 30.09.2021 23:51

Can i get any JS value of scrolling with this. i want to make my site parallax (when i scroll an element is moving) window.scrollY and window.scrollX is not working. Pls help

Ответить
frgt.10
frgt.10 - 22.09.2021 18:48

This channel is SERIOUSLY underrated!!

Ответить
w z
w z - 21.08.2021 04:54

hello does scroll work for cellphones or table device?

Ответить
baeuh
baeuh - 23.07.2021 17:39

omg it worked perfectly thank you soooo much for this simple yet amazing tutorial!!

Ответить
steck rein
steck rein - 05.07.2021 18:44

What if u dont want exactly 400vw in width is there any way to make it adapt?

Ответить
野菇騎士
野菇騎士 - 18.06.2021 14:44

Awesome!! Thank you

Ответить
hatem mazid
hatem mazid - 07.06.2021 18:02

thanks for the awesome tutorial
but it is broken on mobile, you can fix it by the following code:


@media (max-width: 888px) {
.outer-wrapper {
transform: rotate(0) translateX(0);
transform-origin: top left;
overflow-y: hidden;
overflow-x: scroll;
position: absolute;
width: 100vw;
height: 100vh;
}

.wrapper {
display: flex;
flex-direction: row;
height: 400vw;
transform: rotate(0) translateY(0);
transform-origin: top left;
}

.slide {
width: 100vw;
height: 100vh;
background: transparent;
border: black solid 3px;
}
}

Ответить
Shubham Garg
Shubham Garg - 03.06.2021 20:51

wow, thanks a lot!

Ответить
Чедомиров
Чедомиров - 22.05.2021 13:07

Is there any solution to the problem that this way of horizontal scrolling is impeded by Mozilla Firefoxe's apparent misinterpretation of the two-finger scrolling gesture (on Trackpad) on MacOS? Thanks for the video!

Ответить
The TopShottah
The TopShottah - 21.05.2021 20:45

I think this video is great but I’m having a hard time figuring out how i can transitions back to scrolling up and down instead of side to side i thought i could just create another div right underneath the outterwrapper but unfortunately it’s not that easy if anyone has any suggestions that would be great.

Ответить
Senbonzakura Kageyoshi
Senbonzakura Kageyoshi - 13.05.2021 20:33

shit man this was taking too much of my time(bcz i am not good in css) bro tried bunch of things like parallax-scrolling and stuff but you got the right things

Ответить
Sabertooth Wallby
Sabertooth Wallby - 09.05.2021 03:05

Thank you

Ответить
Mohamed Shelf - محمد شلف
Mohamed Shelf - محمد شلف - 03.05.2021 02:26

Your content is a masterpiece Keep going ♥👏✨

Ответить
Lauren Hohls
Lauren Hohls - 24.04.2021 01:52

This was an INCREDIBLE tutorial thank you!

Ответить
Magelectro
Magelectro - 19.04.2021 07:08

Crazy man, great guide and excellent result with simple HTML5 and CSS
Pura vida!

Ответить
Роман Новиков
Роман Новиков - 06.04.2021 19:15

Please tell me horizontal scrolling does not work on android but on PC and on ios everything is ok

Ответить
jesse gordon
jesse gordon - 08.03.2021 02:27

I used this as the layout for my landing page but I can’t get text or images over the background images? How do i put text and images over the slides?

Ответить
Dajman
Dajman - 01.02.2021 23:16

WoW,, I've just watched very first 10 seconds of this tutorial where you explained that such a effect is easily doable by rotating one element and then another one and I'm stunned. Idk but that's ingenious. I will add this video to my favourite so that I can go sleep and watch it tomorrow cuz I feel as if I was Outshone by you right now. Good job! c:

Ответить
Tudor Crisan
Tudor Crisan - 29.12.2020 23:48

ty so much <3

Ответить
Brayan Martinez
Brayan Martinez - 06.12.2020 21:45

Thanks bro.

Ответить
Eren Dhoheiri
Eren Dhoheiri - 04.11.2020 12:03

How to add event scroll to trigger the animation script?

Ответить
Clever Techy
Clever Techy - 26.10.2020 20:56

Great Tutorial, can u help me? how to do this with an Avada container which has 4 columns?

Ответить
Karellen_
Karellen_ - 11.10.2020 12:33

Big thanks, I love this tutorial. Keep up the good work!!!

Ответить
Sh m
Sh m - 24.09.2020 04:12

what is in the top of style sheet

Ответить
Naveed Ali Rehmani
Naveed Ali Rehmani - 20.09.2020 13:13

there may be some people for whom this code might not work and if you ask me this code should not work for anyone at all but anyways if you are one of those people you might wanna try this code that I have stated belove it worked for me and should work for you as well
the HTML is good and should not be changed but for the css replace you code with mine
body{
margin: 0px;
}
.outer-wrapper{
border:2px solid black;
width: 100vh;
height: 100vw;
transform:rotate(-90deg) translateX(-100vh);
transform-origin:top left;
overflow-y:scroll;
overflow-x: hidden;
position: absolute;
}
.wrapper{
width: 400vw;
display: flex;
flex-direction:row;
transform:rotate(90deg) translateX(-100vh) ;
transform-origin:bottom left;
}
.slide{
width: 100vw;
height: 100vh;
}
.one{
background-color:green;
}
.two{
background-color:red;
}
.three{
background-color:yellow;
}
.four{
background-color:blue;
}
::-webkit-scrollbar{
display: none;
}

Ответить
Lorenzo Varas
Lorenzo Varas - 24.08.2020 18:24

I spotted a bug with firefox on mac, if you use the mousewheel it works fine, but if you use the trackpad it scrolls very slow it does not seem to work very well with the combination firefox + trackpad. Any solution for this?

Ответить
Yi Wang
Yi Wang - 16.07.2020 13:17

Thank you soooo much! May I ask if there is another tutorial to make the horizontal parallax effect like the first example in this video? I tried with Stellar.js, but it doesn't with this scrolling tutorial together, thank you so much again!

Ответить
살구쨈
살구쨈 - 15.07.2020 17:38

wow amazing!

Ответить
Thiago Lucio Bittencourt
Thiago Lucio Bittencourt - 08.07.2020 16:56

Great and simple explanation. Awesome ! Thanks to sharing!

Ответить
Aravind Ramesh
Aravind Ramesh - 30.06.2020 18:26

Awesome is there any possible way to make the scrollbar on the bottom

Ответить
Mothilal Sainath Reddy
Mothilal Sainath Reddy - 16.06.2020 23:50

Nice work

Ответить
Calvin Kudufia
Calvin Kudufia - 09.06.2020 17:48

Thanks a lot!!! This was just perfect

Ответить
Boo
Boo - 05.05.2020 02:45

thank you! help a lot

Ответить
Jonathon Wilsdon
Jonathon Wilsdon - 16.03.2020 22:19

How would i add a cityscape image to this? it is a vector image saved as an SVG.

Ответить
Роман Баранов
Роман Баранов - 06.03.2020 04:06

awesome!

Ответить
Rodrigo Campos
Rodrigo Campos - 05.02.2020 03:10

Thank you, this tutorial is awesome!

Ответить
Hillel Nakache
Hillel Nakache - 03.01.2020 11:05

Hello, it worked perfectly, but how to add smooth scrolling effect? Thanks

Ответить
yuc0n
yuc0n - 20.11.2019 13:21

Fucking golden man. Much love.

Ответить
Umang Ghinaiya
Umang Ghinaiya - 18.11.2019 12:13

thankyou my brother

Ответить
European Extreme
European Extreme - 11.11.2019 23:30

Excellent!, it worked perfectly, thank you so much!.

Ответить
Mohiyuddin Shaikh
Mohiyuddin Shaikh - 04.11.2019 10:58

This was so so cool. Thanks.

Ответить
erzdocx
erzdocx - 27.10.2019 22:08

super awesome, short, and informative video. I got it to work on chrome but I have a lot of white space on the top? When my file loads it goes directly into horizontal scroll but occasionally it'll scroll up(where that white space is?

Ответить