Please guys, how do i make the height of the welcome section equal to the height of the viewport of my portfolio. Any ideas please…
Change the height on the #welcome-section
div from 500px
to 100vh
It worked please can you explain to me why the height of 100vh worked?
vw
, vh
: Respectively these are 1/100th of the width of the viewport, and 1/100th of the height of the viewport. Basically, when you use ‘100vh’ you are saying 100% of the height of the viewport.
1 Like