From 3a6ab45b78dded99018fcd05ee0c0ca7b196f983 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 20 Jan 2018 15:10:19 -0800 Subject: [PATCH] rearrange and override extra borders --- scss/_tables.scss | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/scss/_tables.scss b/scss/_tables.scss index 1f13fb78e8..b32732f23a 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 //