Specific order of inline-block elements on mobile and desktop devices
If you don’t need to support Android 2 and Opera Mini you can still use flexbox to achieve this result via media query. Example below: .img { width: 100%; max-width: 100%; height: 300px; background: blue; } .ad { background: red; width: 100px; height: 100px; } @media (min-width : 801px) { .wrapper { padding-right: 110px; } … Read more