bootstrap table striped breakpoints code example
Example 1: table bootstrap with scrool
<div style="height: 600px;overflow: scroll;">
<!-- change height to increase the number of visible row -->
<table></table>
</div>
Example 2: 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%;
}