Tables
Cœur-de-fer have a minimal implementation for tables.
Tables are used with the .table
class.
# | First | Second | Third |
---|---|---|---|
1 | First table item | Some text | Various things |
2 | Second table item | Some another text | Diverse things |
3 | Third table item | Extra text | Stupendous things |
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Second</th>
<th scope="col">Third</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>First table item</td>
<td>Some text</td>
<td>Various things</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Second table item</td>
<td>Some another text</td>
<td>Diverse things</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Third table item</td>
<td>Extra text</td>
<td>Stupendous things</td>
</tr>
</tbody>
</table>