Skip to content

Tables

To include a table, utilize HTML code similar to the following:

html
<div class="gl-table-container">
  <table>
    <thead>
      <tr>
        <th>#</th>
        <th>Heading</th>
        <th>Heading</th>
        <th>Heading</th>
        <th>Heading</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>1</td>
        <td>Cell</td>
        <td>Cell</td>
        <td>Cell</td>
        <td>Cell</td>
      </tr>
      <tr>
        <td>2</td>
        <td>Cell</td>
        <td>Cell</td>
        <td>Cell</td>
        <td>Cell</td>
      </tr>
    </tbody>
  </table>
</div>

The inclusion of the gl-table-container class in the container is crucial. Please remember to add it, as this container ensures optimal functionality of the table on mobile devices.

Designed and developed with ❤️ by Eduardo Gómez