one row table bootstrap code example
Example: bootstrap break table row
I have this :
| 1 | 2 | 3 | 4 |
I want this :
| 1 | 2 | 3 |
| 4 |
- HTML :
<tr>
<th scope="row">1</th>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
- CSS :
td:nth-child(4) {
display: block;
width: 100%;
}
th,
td:nth-child(2),
td:nth-child(3) {
display: inline-block;
width: 33%;
}