I'm attempting to design a flexible web layout that displays differently on various device screens. Here's the breakdown:
- 2 rows 6 columns (large screens, iPad Pro, and other devices)
- 3 rows 4 columns (iPhone 6/7/8 plus)
- 4 rows 3 columns (iPhone 6/7/8 and smaller devices)
This is what I've attempted so far:
<div class="row">
<div class="col-xs-2 col-md-2">
<img src="https://icons.iconarchive.com/icons/iconka/meow/96/cat-purr-icon.png" alt="">
</div>
<div class="col-xs-2 col-md-2 ">
<img src="https://icons.iconarchive.com/icons/iconka/meow/96/cat-purr-icon.png" alt="">
</div>
<!-- Repeat for each column -->
</div>
On large screens, I have 2 rows and 6 columns, but on iPhone 6/7/8 plus and smaller devices, I only see one column. I'm unsure how to resolve this issue. Any assistance would be appreciated. Thank you!