0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Add .text-monospace util

This commit is contained in:
Mark Otto 2018-03-31 21:04:54 -07:00 committed by Mark Otto
parent b2e423f54d
commit 185666fd79
2 changed files with 11 additions and 0 deletions

View File

@ -81,3 +81,12 @@ Quickly change the weight (boldness) of text or italicize text.
<p class="font-italic">Italic text.</p>
{% endcapture %}
{% 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 %}

View File

@ -4,6 +4,8 @@
// Text
//
.text-monospace { font-family: $font-family-monospace; }
// Alignment
.text-justify { text-align: justify !important; }