I am currently building a table using Bootstrap and I have encountered an issue. I would like to set the font size for column 1 (both header and body) to 12px, and for column 2 (both header and body) to 21px.
In essence, I need to be able to customize the font size for each individual column within the table.
Below is the code snippet:
<table class="table">
<thead>
<tr>
<th style="font-size: 12px;">1</th>
<th style="font-size: 21px;">2</th>
<th style="font-size: 12px;">3</th>
<th style="font-size: 21px;">4</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
</tbody>
</table>