慕神0302425
2018-09-06 13:40

请问一下,tr的class需要加table-才能显示出来颜色,不加就显示不出来
版本问题,换了3.3.7的解决
.table-danger 是什么鬼?
必须添加 .table 类才可以,可以查看未压缩的css文件,也可以看 less 文件
.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
background-color: #dff0d8;
}bootstrap快速入门
100944 学习 · 202 问题
相似问题