Is it feasible to have a child div with 100% width?
This is an example of HTML:
<div class="main">
<div class="order2">order2</div>
<div class="order1">order1</div>
</div>
Here is the CSS code:
.main{
display: flex;
}
.order1{
order:1;
width:100%;
}
.order2{
order:2;
width:100%;
}
For more information, check out this link: http://jsfiddle.net/gobmo8sL/