My flexbox layout is causing some undesired behavior. Is there a way to center box 4 and box 5, or place box 5 in the middle of the second row?
If you need a visual reference, you can check out this example: https://jsfiddle.net/1sgrqu25/
.parent {
display: flex;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
justify-content: space-between;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.child {
border: 1px solid grey;
margin-bottom: 10px;
width: 30%;
}
<div class="parent">
<div class="child">Box 1</div>
<div class="child">Box 2</div>
<div class="child">Box 3</div>
<div class="child">Box 4</div>
<div class="child">Box 5</div>
</div>