1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-24 20:02:53 +01:00

Add new .bg-body utility class (#29511)

This commit is contained in:
Mark Otto 2019-10-10 11:18:19 -07:00 committed by XhmikosR
parent 133e0c8c9a
commit b3451ff258
2 changed files with 2 additions and 0 deletions

View File

@ -410,6 +410,7 @@ $utilities: map-merge(
values: map-merge(
$theme-colors,
(
body: $body-bg,
white: $white,
transparent: transparent
)

View File

@ -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