From: Mark Otto Date: Sat, 24 Aug 2013 05:01:42 +0000 (-0700) Subject: Document .hide-text and .text-hide X-Git-Tag: v3.0.1~147^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e25ca1e7a9ce7beaf5227b920913ec10a74a300e;p=thirdparty%2Fbootstrap.git Document .hide-text and .text-hide --- diff --git a/_includes/nav-css.html b/_includes/nav-css.html index 9d979bc90e..4d21a4f9fb 100644 --- a/_includes/nav-css.html +++ b/_includes/nav-css.html @@ -81,6 +81,7 @@
  • Quick floats
  • Clearfix
  • Screen reader content
  • +
  • Image replacement
  • diff --git a/css.html b/css.html index 3e639bf3b0..36bf1bf522 100644 --- a/css.html +++ b/css.html @@ -2292,6 +2292,18 @@ For example, <section> should be wrapped as inline. } {% endhighlight %} + +

    Image replacement

    +

    Utilize the .hide-text mixin or .text-hide class to help replace an element's text content with a background image.

    +{% highlight html %} +

    Custom heading

    +{% endhighlight %} + {% highlight css %} +// Usage as a Mixin +.heading { + .hide-text(); +} +{% endhighlight %}