How do I remove the space between the bottom of this codepen and the footer div. I have tried the suggestion on this SO post but that doesn't seem to work. Thank you.
* {
margin: 0;
padding: 0;
}
body {
background-color: grey;
bottom: 0;
margin: 0;
}
.container {
height: 2000px;
background-color: white;
}
.footer {
position: relative;
left: 0;
bottom: 0;
width: 100%;
background-color: green;
color: white;
text-align: center;
margin: 0;
}
<div class="container">
<div class="row">
<div class="col-12">
<h2>Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</div>
</div>
<div class="footer">
<p>Footer</p>
</div>