mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 10:34:07 +02:00
Add .text-monospace util
This commit is contained in:
@@ -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; }
|
||||||
|
Reference in New Issue
Block a user