I try to put a margin
and a border-bottom
at the same time on a label <tr>
but it does not work for me, I managed to put the border in the following way:
border-collapse: separate;
border-spacing: 0px 20px;
But at the moment of removing that fraction of css
I get the edge, obviously without the space I want. In what way can I create a margin between tr
and at the same time create a border
lower?
table{
border-collapse: separate;
border-spacing: 0px 20px;
}
table tr{
background-color: #00ff00;
border-bottom: 1pt solid #c10c0c;
}
<table>
<tr>
<td>
<p>Cualquier cosa</p>
</td>
</tr>
<tr>
<td>
<p>Cualquier cosa</p>
</td>
</tr>
<tr>
<td>
<p>Cualquier cosa</p>
</td>
</tr>
</table>
I leave an example in snippet
but it does not leave the edges, it is better to try locally