aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2019-10-10 11:18:19 -0700
committerXhmikosR <[email protected]>2019-10-10 21:18:19 +0300
commitb3451ff258fad12e0803d3c4c0331230748720b8 (patch)
treedbe64afaf2f59e6c180f606bed17ca9998fb61fa
parent133e0c8c9a7fdb7bd4d5ebd82ce6d8dc944e0a4f (diff)
downloadbootstrap-b3451ff258fad12e0803d3c4c0331230748720b8.tar.xz
bootstrap-b3451ff258fad12e0803d3c4c0331230748720b8.zip
Add new .bg-body utility class (#29511)
-rw-r--r--scss/_utilities.scss1
-rw-r--r--site/content/docs/4.3/migration.md1
2 files changed, 2 insertions, 0 deletions
diff --git a/scss/_utilities.scss b/scss/_utilities.scss
index 4864ec664..ad91d2d2b 100644
--- a/scss/_utilities.scss
+++ b/scss/_utilities.scss
@@ -410,6 +410,7 @@ $utilities: map-merge(
values: map-merge(
$theme-colors,
(
+ body: $body-bg,
white: $white,
transparent: transparent
)
diff --git a/site/content/docs/4.3/migration.md b/site/content/docs/4.3/migration.md
index d6a2b5e17..4b98e096d 100644
--- a/site/content/docs/4.3/migration.md
+++ b/site/content/docs/4.3/migration.md
@@ -134,6 +134,7 @@ Badges were overhauled to better differentiate themselves from buttons and to be
- Renamed `.text-monospace` to `.font-monospace`
- Decreased the number of responsive order utilities per breakpoint. The highest order utility with a number now is `.order-5` instead of `.order-12`. [See #28874](https://github.com/twbs/bootstrap/pull/28874).
- New `line-height` utilities: `.lh-1`, `.lh-sm`, `.lh-base` and `.lh-lg`. See [here]({{< docsref "/utilities/text#line-height" >}}).
+- Added `.bg-body` for quickly setting the `<body>`'s background to additional elements.
- **Todo:** Drop `.text-hide` as it's an antiquated method for hiding text that shouldn't be used anymore
- **Todo:** Split utilities into property-value utility classes and helpers