There is such a simple construction:
.container { width: 100%; max-width: 1024px; margin: 0 auto; } .block1 { width: 34%; height: 100px; border: 1px solid red; display: inline-block; } .block2 { width: 62%; height: 100px; border: 1px solid blue; display: inline-block; } @media only screen and (min-width: 480px) and (max-width: 767px) { .block1 { width: 100%; } .block2 { width: 100%; } } <div class="container"> <div class="block1"></div> <div class="block2"></div> </div> It is necessary to block2 first when reducing the screen. On bootstrap , for example, I know how to do this (push / pull), and how can I do it right?
push/pullclass in the bootstrap and do the same - Grundypullorpush- Grundy