diff options
| author | Mark Otto <[email protected]> | 2018-01-20 15:10:19 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-01-20 15:10:19 -0800 |
| commit | 3a6ab45b78dded99018fcd05ee0c0ca7b196f983 (patch) | |
| tree | 755ecd89f18d2896f186896d5a03e994a8a2298a | |
| parent | f800383e7da1d19797a77e8cecbe5bc8c5c52029 (diff) | |
| download | bootstrap-3a6ab45b78dded99018fcd05ee0c0ca7b196f983.tar.xz bootstrap-3a6ab45b78dded99018fcd05ee0c0ca7b196f983.zip | |
rearrange and override extra borders
| -rw-r--r-- | scss/_tables.scss | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/scss/_tables.scss b/scss/_tables.scss index 1f13fb78e..b32732f23 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -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 // |
