Is it possible to achieve a layout like this using flexbox?
https://i.sstatic.net/dmvZN.png (I'm unable to insert the image directly...)
Here is the structure:
<main>
<section class="Div1">
</section>
<section class="Div2">
</section>
<aside class="Div3">
</aside>
</main>
Can I rearrange the elements inside <main>
but without adding any additional wrappers for Div1
and Div2
?
I want to change the order of elements for mobile devices (placing Div3
between Div1
and Div2
), but keep the sidebar for higher resolutions...
Thank you!