I need my boxes to be col-12 in col-sm and col-6 in col-md. Can someone please advise me on what steps I should take? If there is a tutorial addressing this issue, kindly share the link with me. Thank you.
<div class="content container-fluid col-lg-12 col-md-12 my-2 col-sm-12">
<div class="row">
<div class="col-lg-3 col-sm-12 col-md-6 p-3">
<div class="boxs pb-2">
<img src="./images/images (1).jpeg" alt="">
<a>example1</a>
</div>
</div>
<div class="col-lg-3 col-sm-12 col-md-6 p-3">
<div class="boxs pb-2">
<img src="./images/images (2).jpeg" alt="">
<a>example2</a>
</div>
</div>
<div class="col-lg-3 col-sm-12 col-md-6 p-3">
<div class="boxs pb-2">
<img src="./images/images (3).jpeg" alt="">
<a>example3</a>
</div>
</div>
<div class="col-lg-3 col-sm-12 col-md-6 p-3">
<div class="boxs pb-2">
<img src="./images/images.jpeg" alt="">
<a>example4</a>
</div>
</div>
</div>
</div>