i have two table headers and i want to sticky it using CSS only. Here is my html, and also posted image of my table, i have all the dynamic data and columns.
<div class="fix-table-parent">
<table>
<thead>
<tr class="first_head">
<th>test11</th>
<th>test12</th>
<th>test13</th>
</tr>
<tr class="second_head">
<th>test21</th>
<th>test22</th>
<th>test23</th>
</tr>
</thead>
<tbody>
<tr>
<td>data1</td>
<td>data2</td>
<td>data3</td>
</tr>
<tr>
<td>data1</td>
<td>data2</td>
<td>data3</td>
</tr>
<tr>
<td>data1</td>
<td>data2</td>
<td>data3</td>
</tr>
</tbody>
</table>
</div>
How can I make the headers sticky using only CSS?