diff --git a/assets/scss/_component-examples.scss b/assets/scss/_component-examples.scss index 7c2d2618b6..6c5c7c5d96 100644 --- a/assets/scss/_component-examples.scss +++ b/assets/scss/_component-examples.scss @@ -357,7 +357,12 @@ height: 5rem; margin: .25rem; background-color: #f5f5f5; - border: 1px solid; + } +} + +.bd-example-border-utils-0 { + [class^="border"] { + border: 1px solid $border-color; } } diff --git a/docs/4.0/utilities/borders.md b/docs/4.0/utilities/borders.md index 2304efcd40..ac865e5d92 100644 --- a/docs/4.0/utilities/borders.md +++ b/docs/4.0/utilities/borders.md @@ -9,7 +9,9 @@ toc: true ## Border -Add classes to an element to add or remove all borders or some borders. +Use border utilities to add or remove an element's borders. Choose from all borders or one at a time. + +### Additive
{% example html %} @@ -18,6 +20,13 @@ Add classes to an element to add or remove all borders or some borders. +{% endexample %} +
+ +### Subtractive + +
+{% example html %}