mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 09:41:11 +00:00
fixes #18433: add three new font utils
This commit is contained in:
parent
db0f2df59c
commit
26da610bd0
@ -121,6 +121,16 @@ Transform text in components with text capitalization classes.
|
|||||||
<p class="text-capitalize">CapiTaliZed text.</p>
|
<p class="text-capitalize">CapiTaliZed text.</p>
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
|
|
||||||
|
## Font weight and style
|
||||||
|
|
||||||
|
Quickly change the weight and style of text.
|
||||||
|
|
||||||
|
{% example html %}
|
||||||
|
<p class="font-normal">Normal text.</p>
|
||||||
|
<p class="font-bold">Bold text.</p>
|
||||||
|
<p class="font-italic">Italicized text.</p>
|
||||||
|
{% endexample %}
|
||||||
|
|
||||||
## Contextual colors and backgrounds
|
## Contextual colors and backgrounds
|
||||||
|
|
||||||
Convey meaning through color with a handful of emphasis utility classes. These may also be applied to links and will darken on hover just like our default link styles.
|
Convey meaning through color with a handful of emphasis utility classes. These may also be applied to links and will darken on hover just like our default link styles.
|
||||||
|
@ -72,6 +72,12 @@
|
|||||||
.text-uppercase { text-transform: uppercase !important; }
|
.text-uppercase { text-transform: uppercase !important; }
|
||||||
.text-capitalize { text-transform: capitalize !important; }
|
.text-capitalize { text-transform: capitalize !important; }
|
||||||
|
|
||||||
|
// Weight
|
||||||
|
|
||||||
|
.font-normal { font-weight: normal; }
|
||||||
|
.font-bold { font-weight: bold; }
|
||||||
|
.font-italic { font-style: normal; }
|
||||||
|
|
||||||
// Contextual colors
|
// Contextual colors
|
||||||
|
|
||||||
.text-muted {
|
.text-muted {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user