aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-08-23 22:39:26 -0700
committerChris Rebert <[email protected]>2013-08-23 22:39:26 -0700
commita7e5bac2d7bc1454e7a206e43e78096316bbfff8 (patch)
tree889f2aa5f117e7b449445fd67eb7289f5ba13a0d /css.html
parent48d929d69edf06fd0b02e05522e0c8efe6b5b77f (diff)
parenta66ccbc562dbdca983fa65a55bfcbe426bcca3dc (diff)
downloadbootstrap-a7e5bac2d7bc1454e7a206e43e78096316bbfff8.tar.xz
bootstrap-a7e5bac2d7bc1454e7a206e43e78096316bbfff8.zip
Merge pull request #10100 from twbs/document_hide_text
Fixes #10076: Document hide text
Diffstat (limited to 'css.html')
-rw-r--r--css.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/css.html b/css.html
index 3e639bf3b..0d3fc11ef 100644
--- a/css.html
+++ b/css.html
@@ -2292,6 +2292,18 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
}
{% endhighlight %}
+
+ <h3 id="helper-classes-image-replacement">Image replacement</h3>
+ <p>Utilize the <code>.text-hide</code> class or mixin to help replace an element's text content with a background image.</p>
+{% highlight html %}
+<h1 class="text-hide">Custom heading</h1>
+{% endhighlight %}
+ {% highlight css %}
+// Usage as a Mixin
+.heading {
+ .text-hide();
+}
+{% endhighlight %}
</div>