How can we get Flexbox to stop the alignment of space in sibling elements when both elements use flex-grow: 1. This is difficult to explain in advance, so the code quickly follows the example of screenshots of the problem and the desired behavior.
.Parent {
display: flex;
flex-direction: column;
background-color: lightcoral;
width: 400px;
min-height: 200px;
}
.Parent>div {
flex: 1;
}
.child1 {
background-color: lightblue;
}
.child2 {
background-color: lightgreen;
}
<div class="Parent">
<div class="child1">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam sagittis lorem at odio euismod tincidunt. Proin aliquet velit nec augue venenatis laoreet. Etiam nec metus mi. Aliquam sit amet velit non lectus porttitor accumsan sit amet egestas risus.</div>
<div class="child2">Lorem ipsum</div>
</div>
Run codeProblem:
Note the equal space below the contents of each div.

Desired:
When there is little content in child divs, divs must be the same height:

If one of the divs has a lot of content, I would expect that a div with a lot of content will only be as high as the content (if it passes with the initial selection of bends).

How can I get this behavior? This seems to be easy with Flexbox.