diff options
| author | Mark Otto <[email protected]> | 2013-08-23 22:01:42 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-23 22:01:42 -0700 |
| commit | e25ca1e7a9ce7beaf5227b920913ec10a74a300e (patch) | |
| tree | 9de82cd2bb159595ffd9b7ff53a6fa224d034ac9 | |
| parent | 7a7149d2eef386912e497907e1b2322ee98c0234 (diff) | |
| download | bootstrap-e25ca1e7a9ce7beaf5227b920913ec10a74a300e.tar.xz bootstrap-e25ca1e7a9ce7beaf5227b920913ec10a74a300e.zip | |
Document .hide-text and .text-hide
| -rw-r--r-- | _includes/nav-css.html | 1 | ||||
| -rw-r--r-- | css.html | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/_includes/nav-css.html b/_includes/nav-css.html index 9d979bc90..4d21a4f9f 100644 --- a/_includes/nav-css.html +++ b/_includes/nav-css.html @@ -81,6 +81,7 @@ <li><a href="#helper-classes-floats">Quick floats</a></li> <li><a href="#helper-classes-clearfix">Clearfix</a></li> <li><a href="#helper-classes-screen-readers">Screen reader content</a></li> + <li><a href="#helper-classes-image-replacement">Image replacement</a></li> </ul> </li> <li> @@ -2292,6 +2292,18 @@ For example, <code><section></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> |
