Commit 7f9e7020 authored by m5o's avatar m5o Committed by XhmikosR
Browse files

add text-reset to text utilities (#26866)

parent 3a02f21b
Showing with 15 additions and 0 deletions
+15 -0
......@@ -60,3 +60,7 @@
}
.text-decoration-none { text-decoration: none !important; }
// Reset
.text-reset { color: inherit !important; }
......@@ -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 %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment