]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
audit helpers docs: quick floats
authorMark Otto <markdotto@gmail.com>
Tue, 23 Dec 2014 12:40:42 +0000 (04:40 -0800)
committerMark Otto <markdotto@gmail.com>
Tue, 23 Dec 2014 12:40:42 +0000 (04:40 -0800)
docs/components/helpers.md

index e41b017ee1cad3cd062a43820c09018a8fba8c6b..f76ff581b9bf8469120192a44ab071e593c2b1b3 100644 (file)
@@ -78,18 +78,13 @@ Float an element to the left or right with a class. `!important` is included to
 
 // Usage as mixins
 .element {
-  .pull-left();
+  @include pull-left;
 }
 .another-element {
-  .pull-right();
+  @include pull-right;
 }
 {% endhighlight %}
 
-<div class="bs-callout bs-callout-warning">
-  <h4>Not for use in navbars</h4>
-  <p>To align components in navbars with utility classes, use <code>.navbar-left</code> or <code>.navbar-right</code> instead. <a href="../components/#navbar-component-alignment">See the navbar docs</a> for details.</p>
-</div>
-
 ### Center content blocks
 
 Set an element to `display: block;` and center via `margin`. Available as a mixin and class.