0

How to set an element to viewport but still scroll

I am working on a project. I am struggling to set the height of the welcome section to the viewport and scroll to see rest of page. Code below. .welcome { Background-color: #fffff; Height: 100vh; Width: 100%; }

17th Sep 2019, 6:10 PM
Mathew Appelcryn
Mathew Appelcryn - avatar
2 Answers
+ 2
Try add overflow:scroll;
17th Sep 2019, 7:08 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 1
I will give that a try. Thanks, didn't think of that
17th Sep 2019, 7:10 PM
Mathew Appelcryn
Mathew Appelcryn - avatar