basscss-base-tables

1.0.2 • Public • Published

This module sets default styles for all tables, including text-alignment, width, padding, border-collapse, and border-spacing.

<div class="overflow-scroll">
  <table class="table-light">
    <thead>
      <tr>
        <th>Artist</th> <th>Album</th> <th>Release Date</th>
      </tr>
    </thead>
    <tbody>
      <tr> <td>Huey Lewis and the News</td> <td>Sports</td> <td>1983</td> </tr>
      <tr> <td>Phil Collins</td> <td>No Jacket Required</td> <td>1985</td> </tr>
      <tr> <td>Peter Gabriel</td> <td>So</td> <td>1986</td> </tr>
    </tbody>
  </table>
</div>

Use the color styles in basscss-color-tables to adjust the appearance.

/basscss-base-tables/

    Package Sidebar

    Install

    npm i basscss-base-tables

    Weekly Downloads

    105

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • jxnblk