У меня есть гибкие коробки 11111, 22222 и 33333, которые обертывают.
Они обертываются так:
3333333
222222222222
11111
но мне нужно, чтобы они завернулись вот так
11111 33333333
222222222222
Ниже приведен код, и вот ссылка на кодовый блок: 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>