Change line color of .table-bordered in Twitter Bootstrap
@tableBorder
is a variable, not a property.
You can just add this to your CSS:
.differentTable, .differentTable td{
border-color: black;
}
The best way is
.table {
border: 0.5px solid #000000;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
border: 0.5px solid #000000;
}
.table-bordered td, .table-bordered th{
border-color: black !important;
}
.table-bordered th : create border for head and foot table.
.table-bordered td : create border for body table
I have to use '!important', because the border wouldn't change without it.