diff --git a/css.html b/css.html index 64540ad61c..c6701a66a2 100644 --- a/css.html +++ b/css.html @@ -2353,7 +2353,18 @@ For example, <section> should be wrapped as inline.

Screen reader content

-

Hide an element to all users except screen readers with .sr-only. Necessary for following accessibility best practices. Can also be used as a mixin.

+

Hide an element everywhere, including screen readers, with .hidden. Can also be used as a mixin.

+{% highlight html %} + +{% endhighlight %} +{% highlight css %} +// Usage as a Mixin +.example { + .hidden(); +} +{% endhighlight %} + +

Hide an element to all devices except screen readers with .sr-only. Necessary for following accessibility best practices. Can also be used as a mixin.

{% highlight html %} Skip to content {% endhighlight %}