]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
rearrange and override extra borders
authorMark Otto <markdotto@gmail.com>
Sat, 20 Jan 2018 23:10:19 +0000 (15:10 -0800)
committerMark Otto <markdotto@gmail.com>
Sat, 20 Jan 2018 23:10:19 +0000 (15:10 -0800)
scss/_tables.scss

index 1f13fb78e85ac5fa1ce9e31aacc80f32116565c9..b32732f23afaef489d06ea763c11a7c6347c17f4 100644 (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;
   }
 }
 
+.table-borderless {
+  th,
+  td,
+  thead th,
+  tbody + tbody {
+    border: 0;
+  }
+}
 
 // Zebra-striping
 //
   }
 }
 
-.table-borderless {
-  th,
-  td {
-    border: 0;
-  }
-}
 
 // Responsive tables
 //