我正在使用表格,代码如下:
<table class="table table-hover table-bordered">
Cell 1 | Cell 2 |
Cell 3 | Cell 4 |
.table thead>tr>th,.table tbody>tr>th,.table tfoot>tr>th,.table thead>tr>td,.table tbody>tr>td,.table tfoot>tr>td{
border-right:none;
border-left: none;
border-bottom: 1px solid red;
}
然而,这并没有去除左边或右边的边框,但它确实应用了一个红色的底部边框,所以我知道它至少正在处理这个CSS,但是对于去除边框没有效果。
有什么想法吗?