When viewing in full screen, I prefer not to use the grid
layout and instead display 7 images in a specific arrangement: 2, 2, 2, 1. However, when it comes to mobile view, how can I achieve this?
<div class="col-xs-6">
<img src="banner1.png" alt="" class="banner-img">
</div>
<div class="col-xs-6">
<img src="banner1.png" alt="" class="banner-img">
</div>
The HTML above looks good for desktop but is there a way to make it display as 2, 2, 2, 1 on mobile devices? Any suggestions?
<div class="container banner">
<img src="banner1.png" alt="" class="banner-img">
<img src="banner2.png" alt="" class="banner-img">
<img src="banner3.png" alt="" class="banner-img">
<img src="banner4.png" alt="" class="banner-img">
<img src="banner5.png" alt="" class="banner-img">
<img src=banner6.png" alt="" class="banner-img">
<img src="banner7.png" alt="" class="banner-img">
</div>