mirror of
https://github.com/twbs/bootstrap.git
synced 2025-07-04 00:01:57 -04:00
Compare commits
7 Commits
0739809eee
...
87b6335a5e
Author | SHA1 | Date | |
---|---|---|---|
|
87b6335a5e | ||
|
239d48c310 | ||
|
78411c778d | ||
|
2d83ac7236 | ||
|
223e002656 | ||
|
339f06c75d | ||
|
75b452d29a |
@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "./dist/css/bootstrap-utilities.min.css",
|
"path": "./dist/css/bootstrap-utilities.min.css",
|
||||||
"maxSize": "10.75 kB"
|
"maxSize": "11.0 kB"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "./dist/css/bootstrap.css",
|
"path": "./dist/css/bootstrap.css",
|
||||||
|
@ -565,6 +565,11 @@ $utilities: map-merge(
|
|||||||
nowrap: nowrap,
|
nowrap: nowrap,
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
"text-wrap": (
|
||||||
|
property: text-wrap,
|
||||||
|
class: text,
|
||||||
|
values: balance
|
||||||
|
),
|
||||||
"word-wrap": (
|
"word-wrap": (
|
||||||
property: word-wrap word-break,
|
property: word-wrap word-break,
|
||||||
class: text,
|
class: text,
|
||||||
|
@ -92,6 +92,12 @@ Change the line height with `.lh-*` utilities.
|
|||||||
<p class="lh-base">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
|
<p class="lh-base">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
|
||||||
<p class="lh-lg">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>`} />
|
<p class="lh-lg">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>`} />
|
||||||
|
|
||||||
|
## Balanced Text
|
||||||
|
|
||||||
|
Use the `.text-balance` class to balance text.
|
||||||
|
|
||||||
|
<Example code={`<p class="text-balance">This is a long paragraph written to show how the text-balance of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>`} />
|
||||||
|
|
||||||
## Monospace
|
## Monospace
|
||||||
|
|
||||||
Change a selection to our monospace font stack with `.font-monospace`.
|
Change a selection to our monospace font stack with `.font-monospace`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user