diff --git a/_includes/nav-css.html b/_includes/nav-css.html index 853b47331b..9d979bc90e 100644 --- a/_includes/nav-css.html +++ b/_includes/nav-css.html @@ -76,6 +76,12 @@
<section> should be wrapped as inline.
Use the generic close icon for dismissing content like modals and alerts.
<section> should be wrapped as inline.
{% endhighlight %}
- Float an element left with a class. Can also be used as a mixin.
+ +Float an element to the left or right with a class. Classes can also be used as mixins.
{% highlight html %}To left-align components in navbars, use .navbar-left instead. See the navbar docs for details.
Float an element right with a class. Can also be used as a mixin.
-{% highlight html %}To right-align components in navbars, use .navbar-right instead. See the navbar docs for details.
To align components in navbars with utility classes, use .navbar-left or .navbar-right instead. See the navbar docs for details.
Clear the float on any element. Utilizes the micro clearfix as popularized by Nicolas Gallagher. Can also be used as a mixin.
Clear the float on any element with the .clearfix class. Utilizes the micro clearfix as popularized by Nicolas Gallagher. Can also be used as a mixin.
<section> should be wrapped as inline.
}
}
-// Usage
+// Usage as a Mixin
.element {
.clearfix();
}
{% endhighlight %}
- Hide an element to all users except screen readers. Necessary for following accessibility best practices.
+ +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.