我尝试通过创建一个名为no-line的类来做到这一点。没用。如果我拿出.no-line那么桌子上就没有线条了。 我只想删除特定行中的特定行。我怎么能这样做?
.table thead > tr > th,
.table tbody > tr > th,
.table tfoot > tr > th,
.table thead > tr > td,
.table tbody > tr > td,
.table tfoot > tr > td.no-line {
border-top: none !important;
border-bottom: none !important;
}
答案 0 :(得分:0)
关闭了行行
.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-top: none !important;
border-bottom: none !important;
}
and then added by own lines with
an <hr/> where I wanted lines with:
hr {
border: none !important;
height: 2px !important;
/* Set the hr color */
color: #333 !important; /* old IE */
background-color: #333 !important; /* Modern Browsers */
}