显示不了tr背景色
请问一下,tr的class需要加table-才能显示出来颜色,不加就显示不出来
请问一下,tr的class需要加table-才能显示出来颜色,不加就显示不出来
2018-09-06
必须添加 .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; }
举报