I am facing an issue where the body is set to full height, but the containing div with a min-height of 100% is not filling up. My goal is to have the blue color fill its body container and flex align the internal divs.
html {
min-height: 100%;
width: 100%;
}
body {
min-height: 100%;
width: 100%;
background-color: green;
}
.main {
display: flex;
flex-direction: row;
min-height: 100%;
justify-content: space-between;
background-color: blue;
}
<div class="main">
<div>Text 1</div>
<div>Text 2</div>
</div>