aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-22 19:23:21 -0700
committerMark Otto <[email protected]>2013-08-22 19:23:21 -0700
commit615ca89b1bc6c5058dab6687776bdbe096c3fd8e (patch)
treed250772b15dd1d99ffb405af114d87b398342246 /css.html
parent99b35150ee12d7a693de5ce45eded2f62e9e8354 (diff)
parent354e2ee4f90d8a561ac7c04f35249ca30fdd1e50 (diff)
downloadbootstrap-615ca89b1bc6c5058dab6687776bdbe096c3fd8e.tar.xz
bootstrap-615ca89b1bc6c5058dab6687776bdbe096c3fd8e.zip
Merge pull request #10040 from twbs/pull-navbar-docs
add cross-reference to .navbar-left/right in .pull-left/right docs
Diffstat (limited to 'css.html')
-rw-r--r--css.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/css.html b/css.html
index d705ca549..8aae2488d 100644
--- a/css.html
+++ b/css.html
@@ -2166,6 +2166,10 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
float: left !important;
}
{% endhighlight %}
+ <div class="bs-callout bs-callout-warning">
+ <h4>Not for use in navbars</h4>
+ <p>To left-align components in navbars, use <code>.navbar-left</code> instead. <a href="../components/#navbar-component-alignment">See the navbar docs</a> for details.</p>
+ </div>
<h3>.pull-right</h3>
<p>Float an element right with a class. Can also be used as a mixin.</p>
@@ -2177,6 +2181,10 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
float: right !important;
}
{% endhighlight %}
+ <div class="bs-callout bs-callout-warning">
+ <h4>Not for use in navbars</h4>
+ <p>To right-align components in navbars, use <code>.navbar-right</code> instead. <a href="../components/#navbar-component-alignment">See the navbar docs</a> for details.</p>
+ </div>
<h3>.clearfix</h3>
<p>Clear the <code>float</code> on any element. Utilizes <a href="http://nicolasgallagher.com/micro-clearfix-hack/">the micro clearfix</a> as popularized by Nicolas Gallagher. Can also be used as a mixin.</p>