【发布时间】:2019-02-14 08:48:14
【问题描述】:
如何将所有水平边框移除为仅偶数/奇数阴影?
https://datatables.net/examples/styling/stripe.html
这不起作用。
table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td {
border: none;
}
我还想删除顶部和底部的黑色边框。这似乎没有任何效果。
table.dataTable thead th {
border-bottom: 0;
border-style: none;
}
table.dataTable tfoot th {
border-top: 0;
border-style: none;
}
table.dataTable .no-footer {
border-bottom: 0;
}
【问题讨论】: