mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 22:41:20 +02:00
Merge pull request #18648 from patrickhlauke/docs-utilities-tweak1
Docs: small tweaks to utilities
This commit is contained in:
@@ -95,6 +95,8 @@ Transform text in components with text capitalization classes.
|
|||||||
<p class="text-capitalize">CapiTaliZed text.</p>
|
<p class="text-capitalize">CapiTaliZed text.</p>
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
|
|
||||||
|
Note how `text-capitalize` only changes the first letter of each word, leaving the case of any other letters unaffected.
|
||||||
|
|
||||||
## Font weight and italics
|
## Font weight and italics
|
||||||
|
|
||||||
Quickly change the weight (boldness) of text or italicize text.
|
Quickly change the weight (boldness) of text or italicize text.
|
||||||
@@ -102,7 +104,7 @@ Quickly change the weight (boldness) of text or italicize text.
|
|||||||
{% example html %}
|
{% example html %}
|
||||||
<p class="font-weight-bold">Bold text.</p>
|
<p class="font-weight-bold">Bold text.</p>
|
||||||
<p class="font-weight-normal">Normal weight text.</p>
|
<p class="font-weight-normal">Normal weight text.</p>
|
||||||
<p class="font-italic">Italicized text.</p>
|
<p class="font-italic">Italic text.</p>
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
|
|
||||||
## Contextual colors and backgrounds
|
## Contextual colors and backgrounds
|
||||||
|
Reference in New Issue
Block a user