aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-23 22:01:42 -0700
committerMark Otto <[email protected]>2013-08-23 22:01:42 -0700
commite25ca1e7a9ce7beaf5227b920913ec10a74a300e (patch)
tree9de82cd2bb159595ffd9b7ff53a6fa224d034ac9 /css.html
parent7a7149d2eef386912e497907e1b2322ee98c0234 (diff)
downloadbootstrap-e25ca1e7a9ce7beaf5227b920913ec10a74a300e.tar.xz
bootstrap-e25ca1e7a9ce7beaf5227b920913ec10a74a300e.zip
Document .hide-text and .text-hide
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..36bf1bf52 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>.hide-text</code> mixin or <code>.text-hide</code> class 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 {
+ .hide-text();
+}
+{% endhighlight %}
</div>