Implementation:
The two classes within the wrapper div you see in the HTML Output are required to apply default Bootstrap styling with Thruline modifications to any table:
Implementation:
To make the table's header standout, you can either apply a light or dark modifier. To do so, use the thead-light or thead-dark classes in the table's head tag.
<table class="tl-table table"> <thead class="[thead-light OR thead-dark]">
Implementation:
To help make tables a little more readable, you have the option of alternating striped backgrounds behind every-other row. To apply this striped styling, use the table-striped class within the table tag.
You have the option of coloring a full row or individual cell within a table. To do so, simply add a row-[color] or cell-[color] class to the appropriate row or cell.
**To change the color of the text within a row/cell, you can use the tl-text-[color] class, more on that here.
Implementation:
The classes you see sprinkled throughout the HTML Output rows and cells are just a few examples of how to apply backgrounds to any of your rows or cells:
By default, the text within a table is left aligned. To center align, use the text-center class on the table tag, to right align, use the text-right class.
Implementation:
Add your alignment class to the table tag:
If you would like your tables to be responsive, which I'm sure you do, you'll need to add the Bootstrap wrapper around your table. Simply add a div with the table-responsive class around your table's HTML and it'll become responsive at smaller resolutions (scrolls horizontally).
Implementation:
Wrap your table in a responsive div: