To display logos in 8 columns using Bootstrap 5, I implemented the following code:
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7f1d10100b0c0b0d1e0f3f4a514e514c">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<div class="row gy-3 px-5 pt-4">
<div class="col-md-6 col-12">
<div class="row gy-3">
<div class="col-md-3 col-4">
<img src="https://via.placeholder.com/500x300" alt="" class="w-100" />
</div>
<div class="col-md-3 col-4">
<img src="https://via.placeholder.com/500x300" alt="" class="w-100" />
</div>
<div class="col-md-3 col-4">
<img src="https://via.placeholder.com/500x300" alt="" class="w-100" />
</div>
<div class="col-md-3 col-4">
<img src="https://via.placeholder.com/500x300" alt="" class="w-100" />
</div>
</div>
</div>
<div class="col-md-6 col-12">
<div class="row gy-3">
<div class="col-md-3 col-4">
<img src="https://via.placeholder.com/500x300" alt="" class="w-100" />
</div>
<div class="col-md-3 col-4">
<img src="https://via.placeholder.com/500x300" alt="" class="w-100" />
</div>
<div class="col-md-3 col-4">
<img src="https://via.placeholder.com/500x300" alt="" class="w-100" />
</div>
<div class="col-md-3 col-4">
<img src="https://via.placeholder.com/500x300" alt="" class="w-100" />
</div>
</div>
</div>
</div>
Now, I am looking to create a row with 3 columns for each logo on mobile devices. I need a way to eliminate the second row for small devices, but I am unsure how to accomplish this.