I need help with my Flex Box Layout. It should break into two columns, with two divs each, the same time, the first smaller Box shifts down.
BTW: What is the correct syntax, to target Child 2 and 3 at once?
#container_left {
height: 500px;
/*height for testing*/
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: stretch;
flex-wrap: wrap;
}
.item_left {
flex-basis: 200px;
margin: 0.5%;
width: 10%;
}
.item_left:nth-child(2) {
flex-basis: 30%;
flex-grow: 1;
}
.item_left:nth-child(3) {
flex-basis: 30%;
flex-grow: 1;
}
/*Either for testing*/
div {
border: solid 1px;
}
<div id="container_left">
<div class="item_left"></div>
<div class="item_left"></div>
<div class="item_left"></div>
<div class="item_left"></div>
</div>