diff options
| author | Chris Rebert <[email protected]> | 2013-08-23 22:39:26 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-08-23 22:39:26 -0700 |
| commit | a7e5bac2d7bc1454e7a206e43e78096316bbfff8 (patch) | |
| tree | 889f2aa5f117e7b449445fd67eb7289f5ba13a0d /css.html | |
| parent | 48d929d69edf06fd0b02e05522e0c8efe6b5b77f (diff) | |
| parent | a66ccbc562dbdca983fa65a55bfcbe426bcca3dc (diff) | |
| download | bootstrap-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.html | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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>.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> |
