flex-direction:

1
2
3
4


<div class="container">
<div class="flex-item">1</div>
<div class="flex-item">2</div>
<div class="flex-item">3</div>
<div class="flex-item">4</div>
</div>

.container{
flex-direction: rowrow-reversecolumncolumn-reverse;
}

Back