mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01: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>
|
||||
{% 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
|
||||
|
||||
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-capitalize { text-transform: capitalize !important; }
|
||||
|
||||
// Weight
|
||||
|
||||
.font-normal { font-weight: normal; }
|
||||
.font-bold { font-weight: bold; }
|
||||
.font-italic { font-style: normal; }
|
||||
|
||||
// Contextual colors
|
||||
|
||||
.text-muted {
|
||||
|
Loading…
x
Reference in New Issue
Block a user