I have a list table of items with groups of lines (tbody) and I would like to add spacing between them, not that I have not already done so, but I have been looking for a "less gambiarra"
I'd also like to better style the table edges while I get the spacing. The following is an example of the table:
Example
table { text-align:left; border-collapse:separate; border-spacing:0; }
table tbody { border-spacing:0 10px; } /* apenas ilustrativo */
table tbody td { vertical-align:middle; border-top:1px solid #000; }
table tbody:nth-child(odd) { background-color:#ccc; }
<table>
<thead>
<tr>
<th>#</th>
<th>th1</th>
<th>th2</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="2">1</td>
<td>Teste</td>
<td>Lorem Ipsum</td>
</tr>
<tr>
<td colspan="2">Algum conteúdo</td>
</tr>
</tbody>
<tbody>
<tr>
<td rowspan="2">2</td>
<td>Teste</td>
<td>Lorem Ipsum</td>
</tr>
<tr>
<td colspan="2">Algum conteúdo</td>
</tr>
</tbody>
</table>
For those who have never seen a table with multiple gt ;, here's a good request: link