I have flex boxes 11111 22222 and 33333 that wrap.
They wrap like this:
3333333
222222222222
11111
but I need them to wrap like this
11111 33333333
222222222222
Below is the code so far, and here is a link to the codepen: https://codepen.io/anon/pen/oRrzzQ
.content2 {
color: #fff;
font: 100 24px/100px sans-serif;
height: 150px;
text-align: center;
}
.content2 div {
height: 50%;
width: 300px;
}
.red {
background: orangered;
margin-right: auto;
}
.green {
background: yellowgreen;
margin-right: auto;
}
.blue {
background: steelblue;
margin-left: auto;
}
.content2 {
display: flex;
flex-wrap: wrap-reverse;
justify-content: space-between;
}
<div class="content2">
<div class="red">1</div>
<div class="green" style="width:60%">2</div>
<div class="blue">3</div>
</div>