Dark Table

Use table-dark to create a dark styled table.

Preview

Code

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container py-5">

<table class="table table-dark">
<thead>
<tr>
<th>Order</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>#1023</td>
<td>Delivered</td>
</tr>
<tr>
<td>#1024</td>
<td>Pending</td>
</tr>
</tbody>
</table>

</div>

</body>
</html>

More BS5 Tables Examples (7)