There is such a fairly simple structure:
.container { max-width: 300px; color: #fff; } .sidebar, .content { min-height: 150px; } .sidebar { width: 100px; float: left; background: #f00; } .content{ overflow: hidden; background: #00f; } .third-block { clear: both; min-height: 100px; background: #0f0; } <div class="container"> <div class="sidebar">Блок 1</div> <div class="content">Блок 2</div> <div class="third-block">Блок 3</div> </div> https://jsfiddle.net/j7n9yf5q/2/ It is necessary when changing the window to 768px to change blocks of places - Block 2 becomes the first place, Block 3 - behind it, and Block 1 goes down to the bottom. How to implement it on jQuery?