I have a DIV element that needs to fill the entire screen until the user scrolls and reveals the content. So essentially remain at the viewports height.
Here is what I did and it works, but it’s only compatible with newer browsers.
.section-full {
height:100vh;
min-height:100vh;
}
Here is what I did and it works, but it’s only compatible with newer browsers.
.section-full {
height:100vh;
min-height:100vh;
}
No comments :
Post a Comment