0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

rearrange and override extra borders

This commit is contained in:
Mark Otto 2018-01-20 15:10:19 -08:00
parent f800383e7d
commit 3a6ab45b78

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 { .table-bordered {
border: $table-border-width solid $table-border-color; border: $table-border-width solid $table-border-color;
@ -62,6 +62,14 @@
} }
} }
.table-borderless {
th,
td,
thead th,
tbody + tbody {
border: 0;
}
}
// Zebra-striping // Zebra-striping
// //
@ -151,12 +159,6 @@
} }
} }
.table-borderless {
th,
td {
border: 0;
}
}
// Responsive tables // Responsive tables
// //