css remove white space below footer
<body>
<section>
This is content of the page
</section>
<footer>
Text of footer
</footer>
</body>
section {
min-height: 100vh; /* minus the height of the footer */
}
css remove white space below footer
<body>
<section>
This is content of the page
</section>
<footer>
Text of footer
</footer>
</body>
section {
min-height: 100vh; /* minus the height of the footer */
}
how to remove white space under footer
html,
body {
height: 100%;
position: relative;
}
.site-content {
min-height: 100vh; /* will cover the 100% of viewport */
overflow: hidden;
display: block;
position: relative;
padding-bottom: 100px; /* height of your footer */
}
footer {
position: absolute;
bottom: 0;
width: 100%;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us