Tables: Support for multiple <tbody>
Created by: ledermann
Because a <table>
is allowed to contain multiple <tbody>
to build groups of rows, it would be nice to style them with Bootstrap.
Example 1: Striped groups:
tbody:nth-child(odd) { background: #f5f5f5; }
tbody:nth-child(even) { background: #e5e5e5; }
Example 2: Placing a separator between groups:
tbody { border-top: 10px solid #ccc; }
tbody:first-of-type { border-top: 0; }
But both do not work nice with .striped-table. Any ideas?
Further reading: http://stackoverflow.com/questions/3076708/can-we-have-multiple-tbody-in-same-table http://stackoverflow.com/questions/294885/how-to-put-spacing-between-tbody-elements