andre andre - 1 year ago 64
CSS Question

Is it possible to add a margin between each row in a bootsrap V4 striped table

Is it possible to separate each row using a margin, in a striped table in bootstrap v4. I want each row to spaced out a little to be more readable.

<table class="table table-striped">
<th>First Name</th>
<th>Last Name</th>
<th scope="row">1</th>
<th scope="row">2</th>
<th scope="row">3</th>
<td>the Bird</td>

Answer Source

Table rows does not have margin values. You may consider to use padding values to td.

For reference :

.table td{
  padding-bottom: 10px;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download