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 %}