So I'm trying to make footer which has min-height: 70px and inside footer theres an address, social media, logo, etc.
The question is why I can't make height for address, social media, logo, etc. 100% ???
Simple CSS
div.min {
min-height: 100px;
background-color: red;
}
div.in {
height: 100%;
width: 50px;
background-color: blue;
}
And simple HTML
<div class="min">
<div class="in">
</div>
</div>
If I change the min-height into height its working, can anyone help me? Thanks