I am building a static e-commerce website using bootstrap. I want 2 product in a row while it opens in the phone and 4 product in a row while open in desktop or i-pad.
<div class="container">
<div class="row product">
<div class="col-md-3">
<div class="image">
<a href="products.php?q=10020" target="_blank"><img id="10030" src="#"></a>
</div>
</div>
<div class="col-md-3">
<div class="image">
<a href="products.php?q=10020" target="_blank"><img id="10030" src="#"></a>
</div>
</div>
<div class="col-md-3">
<div class="image">
<a href="products.php?q=10020" target="_blank"><img id="10030" src="#"></a>
</div>
</div>
<div class="col-md-3">
<div class="image">
<a href="products.php?q=10020" target="_blank"><img id="10030" src="#"></a>
</div>
</div>
</div>
There is more than 1 row on this page. please help me to solve this.