diff --git a/docs/4.0/content/tables.md b/docs/4.0/content/tables.md index f2a3b4ce4d..33abf89361 100644 --- a/docs/4.0/content/tables.md +++ b/docs/4.0/content/tables.md @@ -286,6 +286,86 @@ Add `.table-bordered` for borders on all sides of the table and cells. {% endexample %} +## Borderless table + +Add `.table-borderless` for a table without borders. + +{% example html %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#First NameLast NameUsername
1MarkOtto@mdo
2MarkOtto@TwBootstrap
3JacobThornton@fat
4Larry the Bird@twitter
+{% endexample %} + +{% example html %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#First NameLast NameUsername
1MarkOtto@mdo
2MarkOtto@TwBootstrap
3JacobThornton@fat
4Larry the Bird@twitter
+{% endexample %} + ## Hoverable rows Add `.table-hover` to enable a hover state on table rows within a ``. diff --git a/scss/_tables.scss b/scss/_tables.scss index 9e88743cf7..1f13fb78e8 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -151,6 +151,12 @@ } } +.table-borderless { + th, + td { + border: 0; + } +} // Responsive tables //