aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
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>