rearrange and override extra borders

This commit is contained in:
Mark Otto 2018-01-20 15:10:19 -08:00
parent f800383e7d
commit 3a6ab45b78
1 changed files with 10 additions and 8 deletions

View File

@ -42,9 +42,9 @@
}
// Bordered version
// Border versions
//
// Add borders all around the table and between all the columns.
// Add or remove borders all around the table and between all the columns.
.table-bordered {
border: $table-border-width solid $table-border-color;
@ -62,6 +62,14 @@
}
}
.table-borderless {
th,
td,
thead th,
tbody + tbody {
border: 0;
}
}
// Zebra-striping
//
@ -151,12 +159,6 @@
}
}
.table-borderless {
th,
td {
border: 0;
}
}
// Responsive tables
//