Tables
Styled tables that scroll on small screens.
Bootstrap · TablesBeginner
<div class="table-responsive">
<table class="table table-striped table-hover align-middle">
<thead class="table-dark">
<tr><th scope="col">#</th><th scope="col">Name</th><th scope="col">City</th></tr>
</thead>
<tbody>
<tr><th scope="row">1</th><td>Ali</td><td>Lahore</td></tr>
<tr><th scope="row">2</th><td>Sara</td><td>Karachi</td></tr>
</tbody>
</table>
</div>tablestripedhoverresponsive