UNPKG

basscss-base-tables

Version:

Base table styles for Basscss

24 lines (19 loc) 655 B
This module sets default styles for all tables, including text-alignment, width, padding, border-collapse, and border-spacing. ```html <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.