//Here i have 2 divs i want div1 to be displayed on the screen before 567px but after 567px screen size i want div2 to get displayed instaed of div1
//this my div1 which should be displayed above 567px screen size
<table style="width:100%">
<thead>
<tr class="header">
<th>PARAMETERS </th>
<th>Scio </th>
<th>Path Lab</th>
<th>Fitness Apps</th>
<th>Insurance Co’s</th>
<th>Teleconsultant App</th>
</tr>
</thead>
<tbody>
<tr>
<td>Annual Blood Test </td>
<td><img src="/static/success.png"></td>
<td><img src="/static/success.png"></td>
<td></td>
<td><img src="/static/success.png"></td>
<td></td>
</tr>
<tr>
//this is my div2 which i want to get displlayed instead of div but only for the screen sizes less and equal to 567px
<div class="card-container">
<div class="table-cards">
<div class= "card1">
<div class="rows head-row">
<div>Annual Blood Test </div>
</div>
<div class="rows">
<div>Scio</div>
<div><img src="/static/success.png"></div>
</div>
<div class="rows">
<div>Path Labs</div>
<div><img src="/static/success.png"></div>
</div>
<div class="rows">
<div>Fitness Apps</div>
<div></div>
</div>
<div class="rows">
<div>Insurance Co's</div>
<div><img src="/static/success.png"></div>
</div>
<div class="rows">
<div>Teleconsultant App</div>
<div></div>
</div>
</div>
</div>
please help me with this and let me know the most easier way of doing it