Hi everyone! Please help me solve this.
Hi
Have you tried this:
.intro {
height: 100vh;
}
I try but not success
Okey I solved
.intro{ top: 0; background: yellow; min-height: 55vh; padding-top: 45vh; }
1 Like
So you’ve tried replacing height: 100% with height: 100vh like this?
.intro {
top: 0;
height: 100vh;
background: yellow;
min-height: 120px;
padding-top: 80px;
}
I tried it in your pen and the height grows to the height of the viewport... and looks like attached image.
1 Like