Understanding flex-grow
问题 I have 3 divs and if I give flex: 0.5 to first two divs, the last div should move to the next line if I have given flex-wrap: wrap . Please correct if I am wrong. Following is my html / css: .parent { display: flex; height: 100px; background-color: red; flex-wrap: wrap; } .child-1 { background-color: green; flex: 0.5; } .child-2 { background-color: yellow; flex: 0.5; } .child-3 { background-color: pink; } <div class="parent"> <div class="child-1">LOREN IPSUM LOREN IPSUM</div> <div class=