mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Merge branch 'text-break-util' into v4-dev
This commit is contained in:
commit
d51b408d0f
@ -66,6 +66,15 @@ For longer content, you can add a `.text-truncate` class to truncate the text wi
|
||||
{% endcapture %}
|
||||
{% include example.html content=example %}
|
||||
|
||||
## Word break
|
||||
|
||||
Prevent long strings of text from breaking your components' layout by using `.text-break` to set `word-break: break-word`.
|
||||
|
||||
{% capture example %}
|
||||
<p class="text-break">mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
{% endcapture %}
|
||||
{% include example.html content=example %}
|
||||
|
||||
## Text transform
|
||||
|
||||
Transform text in components with text capitalization classes.
|
||||
|
Loading…
Reference in New Issue
Block a user