.container {
display: flex;
}
.item {
width: 100px;
height: 100px;
}
<div class='container' >
<div class='item' style="background:red;" ></div>
<div class='item' style="background:blue;" ></div>
<div class='item' style="background:green;" ></div>
</div>
So div items are in order - red, blue and then green. How can I set them in order - blue, red and then green by using any flex property in css.