mirror of https://github.com/twbs/bootstrap.git
Add .text-monospace util
This commit is contained in:
parent
b2e423f54d
commit
185666fd79
|
@ -81,3 +81,12 @@ Quickly change the weight (boldness) of text or italicize text.
|
||||||
<p class="font-italic">Italic text.</p>
|
<p class="font-italic">Italic text.</p>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
|
|
||||||
|
## Monospace
|
||||||
|
|
||||||
|
Change a selection to our monospace font stack with `.text-monospace`.
|
||||||
|
|
||||||
|
{% capture example %}
|
||||||
|
<p class="font-monospace">This is in monospace</p>
|
||||||
|
{% endcapture %}
|
||||||
|
{% include example.html content=example %}
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
// Text
|
// Text
|
||||||
//
|
//
|
||||||
|
|
||||||
|
.text-monospace { font-family: $font-family-monospace; }
|
||||||
|
|
||||||
// Alignment
|
// Alignment
|
||||||
|
|
||||||
.text-justify { text-align: justify !important; }
|
.text-justify { text-align: justify !important; }
|
||||||
|
|
Loading…
Reference in New Issue