Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
185666fd
Commit
185666fd
authored
6 years ago
by
Mark Otto
Committed by
Mark Otto
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add .text-monospace util
parent
b2e423f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/4.0/utilities/text.md
+9
-0
docs/4.0/utilities/text.md
scss/utilities/_text.scss
+2
-0
scss/utilities/_text.scss
with
11 additions
and
0 deletions
+11
-0
docs/4.0/utilities/text.md
+
9
-
0
View file @
185666fd
...
@@ -81,3 +81,12 @@ Quickly change the weight (boldness) of text or italicize text.
...
@@ -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 %}
This diff is collapsed.
Click to expand it.
scss/utilities/_text.scss
+
2
-
0
View file @
185666fd
...
@@ -4,6 +4,8 @@
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment