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
7f9e7020
Commit
7f9e7020
authored
6 years ago
by
m5o
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
add text-reset to text utilities (#26866)
parent
3a02f21b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/utilities/_text.scss
+4
-0
scss/utilities/_text.scss
site/docs/4.1/utilities/text.md
+11
-0
site/docs/4.1/utilities/text.md
with
15 additions
and
0 deletions
+15
-0
scss/utilities/_text.scss
+
4
-
0
View file @
7f9e7020
...
...
@@ -60,3 +60,7 @@
}
.text-decoration-none
{
text-decoration
:
none
!
important
;
}
// Reset
.text-reset
{
color
:
inherit
!
important
;
}
This diff is collapsed.
Click to expand it.
site/docs/4.1/utilities/text.md
+
11
-
0
View file @
7f9e7020
...
...
@@ -90,3 +90,14 @@ Change a selection to our monospace font stack with `.text-monospace`.
<p
class=
"text-monospace"
>
This is in monospace
</p>
{% endcapture %}
{% include example.html content=example %}
## Reset color
Reset a text or link's color with
`.text-reset`
, so that it inherits the color from its parent.
{% capture example %}
<p
class=
"text-muted"
>
Muted text with a
<a
href=
"#"
class=
"text-reset"
>
reset link
</a>
.
</p>
{% endcapture %}
{% include example.html content=example %}
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