Sandbox Jekyll documentation

Tables

Learn how to use tables in Sandbox.

Simple

<table class="table">
  <thead>
    <tr>
      <th scope="col">#</th>
      <th scope="col">First</th>
      <th scope="col">Last</th>
      <th scope="col">Handle</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">1</th>
      <td>Mark</td>
      <td>Otto</td>
      <td>@mdo</td>
    </tr>
    <tr>
      <th scope="row">2</th>
      <td>Jacob</td>
      <td>Thornton</td>
      <td>@fat</td>
    </tr>
    <tr>
      <th scope="row">3</th>
      <td colspan="2">Larry the Bird</td>
      <td>@twitter</td>
    </tr>
  </tbody>
</table>

Simple Dark

<table class="table table-dark">
  ...
</table>

Striped

<table class="table table-striped">
  ...
</table>

Bordered

<table class="table table-bordered">
  ...
</table>

Borderless

<table class="table table-borderless">
  ...
</table>

Hoverable Rows

<table class="table table-hover">
  ...
</table>

Responsive

<div class="table-responsive">
  <table class="table">
    ...
  </table>
</div>