📜  引导表文本垂直居中对齐 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:36.092000             🧑  作者: Mango

代码示例3
/* 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