-{{< example >}}
+{{< example class="bd-example-row bd-example-row-flex-cols" >}}
-{{< example >}}
+{{< example class="bd-example-row" >}}
@@ -520,7 +489,6 @@ Use flexbox alignment utilities to vertically and horizontally align columns. **
{{< /example >}}
-
### No gutters
@@ -545,21 +513,18 @@ Here's the source code for creating these styles. Note that column overrides are
In practice, here's how it looks. Note you can continue to use this with all other predefined grid classes (including column widths, responsive tiers, reorders, and more).
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
.col-sm-6 .col-md-8
.col-6 .col-md-4
{{< /example >}}
-
### Column wrapping
If more than 12 columns are placed within a single row, each group of extra columns will, as one unit, wrap onto a new line.
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
.col-9
@@ -568,14 +533,12 @@ If more than 12 columns are placed within a single row, each group of extra colu
{{< /example >}}
-
### Column breaks
Breaking columns to a new line in flexbox requires a small hack: add an element with `width: 100%` wherever you want to wrap your columns to a new line. Normally this is accomplished with multiple `.row`s, but not every implementation method can account for this.
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
.col-6 .col-sm-3
@@ -589,12 +552,10 @@ Breaking columns to a new line in flexbox requires a small hack: add an element
{{< /example >}}
-
You may also apply this break at specific breakpoints with our [responsive display utilities]({{< docsref "/utilities/display" >}}).
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
.col-6 .col-sm-4
@@ -608,7 +569,6 @@ You may also apply this break at specific breakpoints with our [responsive displ
{{< /example >}}
-
## Reordering
@@ -616,8 +576,7 @@ You may also apply this break at specific breakpoints with our [responsive displ
Use `.order-` classes for controlling the **visual order** of your content. These classes are responsive, so you can set the `order` by breakpoint (e.g., `.order-1.order-md-2`). Includes support for `1` through `5` across all five grid tiers.
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
@@ -632,12 +591,10 @@ Use `.order-` classes for controlling the **visual order** of your content. Thes
{{< /example >}}
-
There are also responsive `.order-first` and `.order-last` classes that change the `order` of an element by applying `order: -1` and `order: 6`, respectively. These classes can also be intermixed with the numbered `.order-*` classes as needed.
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
@@ -652,7 +609,6 @@ There are also responsive `.order-first` and `.order-last` classes that change t
{{< /example >}}
-
### Offsetting columns
@@ -662,8 +618,7 @@ You can offset grid columns in two ways: our responsive `.offset-` grid classes
Move columns to the right using `.offset-md-*` classes. These classes increase the left margin of a column by `*` columns. For example, `.offset-md-4` moves `.col-md-4` over four columns.
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
.col-md-4
@@ -678,12 +633,10 @@ Move columns to the right using `.offset-md-*` classes. These classes increase t
{{< /example >}}
-
In addition to column clearing at responsive breakpoints, you may need to reset offsets. See this in action in [the grid example]({{< docsref "/examples/grid" >}}).
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
.col-sm-5 .col-md-6
@@ -695,14 +648,12 @@ In addition to column clearing at responsive breakpoints, you may need to reset
{{< /example >}}
-
#### Margin utilities
With the move to flexbox in v4, you can use margin utilities like `.mr-auto` to force sibling columns away from one another.
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
.col-md-4
@@ -718,14 +669,12 @@ With the move to flexbox in v4, you can use margin utilities like `.mr-auto` to
{{< /example >}}
-
## Nesting
To nest your content with the default grid, add a new `.row` and set of `.col-sm-*` columns within an existing `.col-sm-*` column. Nested rows should include a set of columns that add up to 12 or fewer (it is not required that you use all 12 available columns).
-
-{{< example >}}
+{{< example class="bd-example-row" >}}
@@ -742,7 +691,6 @@ To nest your content with the default grid, add a new `.row` and set of `.col-sm
{{< /example >}}
-
## Sass mixins
diff --git a/site/content/docs/4.3/utilities/borders.md b/site/content/docs/4.3/utilities/borders.md
index b2457353fd..8264e77400 100644
--- a/site/content/docs/4.3/utilities/borders.md
+++ b/site/content/docs/4.3/utilities/borders.md
@@ -12,34 +12,29 @@ Use border utilities to add or remove an element's borders. Choose from all bord
### Additive
-
-{{< example >}}
+{{< example class="bd-example-border-utils" >}}
{{< /example >}}
-
### Subtractive
-
-{{< example >}}
+{{< example class="bd-example-border-utils bd-example-border-utils-0" >}}
{{< /example >}}
-
## Border color
Change the border color using utilities built on our theme colors.
-
-{{< example >}}
+{{< example class="bd-example-border-utils" >}}
{{< border.inline >}}
{{- range (index $.Site.Data "theme-colors") }}
@@ -47,7 +42,6 @@ Change the border color using utilities built on our theme colors.
{{< /border.inline >}}
{{< /example >}}
-
## Border-radius