# Text
# text-align, text-decoration, white-space, text-transform
# format
text-{type}
- allowed {type} value:
- text-align:
center, left, right, justify
- responsive: true
- text-decoration:
over, under, through
- responsive: fasle
- white-space:
wrap, nowrap
- responsive: fasle
- word-break:
break-all, break-word, keep
- responsive: fasle
- text-transform:
upper, lower, capitalize
- responsive: fasle
# Example
$9.99
$4.99
<div class="price">
<span class="origin text-through">$9.99</span>
$4.99
</div>
# Example
This text should overflow the parent.
<div class="text-nowrap" style="width: 8rem;">
This text should overflow the parent.
</div>
# Example
Text below will break "any word"
thisisaverylonglonglonglonglongtext thisisanotherlonglonglonglonglongtextText below will break "by" words
thisisaverylonglonglonglonglongtext thisisanotherlonglonglonglonglongtext
<div class="text-break-all" style="width: 20rem;">
thisisaverylonglonglonglonglongtext thisisanotherlonglonglonglonglongtext
</div>
<div class="text-break-word" style="width: 20rem;">
thisisaverylonglonglonglonglongtext thisisanotherlonglonglonglonglongtext
</div>
# Example
This text go uppercased.
<div class="text-upper">
This text go uppercased.
</div>
# font-weight, font-style
# format
fw-{state}
, fst-{state}
- allowed {state} value:
- font-weight:
bold, bolder, normal, lighter
- responsive: true
- font-style:
italic, normal
- responsive: fasle
# Example
This text go bold in PC, noraml in mobile
This text go light.
This text go italic.
<div class="fw-md-bold">
This text go bold in PC, noraml in mobile
</div>
<div class="fw-lighter">
This text go light.
</div>
<div class="fst-italic">
This text go italic.
</div>
← Sizing Interactions →