I've got 3 divs of different lengths in a flex box. Each div is 47% width. I am using flex wrap to have them wrap. The longest div is second in the order and pushes the third div all the way down to where it ends. Is there anyway to have the third div come right up under the first div.
HTML
<div class="flex-box">
<div class="flex-item">
<ul>
<li></li>
<li></li>
</ul>
</div>
<div class="flex-item">
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div class="flex-item">
<ul>
<li></li>
<li></li>
</ul>
</div>
</div>
CSS
.flex-box{
display: flex;
background: black;
flex-wrap: wrap;
width: 500px;
justify-content: space-between;
align-items: flex-start;
}
.flex-item{
width: 47%;
background: red;
border: 1px solid white;
margin-bottom: 10px;
}