vertical table bootstrap code example
Example 1: bootstrap table text vertical align center
/* Based on what you have provided your CSS selector is not specific enough to
override the CSS rules defined by Bootstrap.
Try this:
*/
.table > tbody > tr > td {
vertical-align: middle;
}
/*
In Boostrap 4, this can be achieved with the .align-middle Vertical
Alignment utility class.
*/
Text |
Example 2: bootstrap table list
# |
First |
Last |
Handle |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
3 |
Larry the Bird |
@twitter |
Example 3: table boostrap stripped
# |
First |
Last |
Handle |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
3 |
Larry |
the Bird |
@twitter |