aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-22 23:19:49 -0700
committerMark Otto <[email protected]>2013-08-22 23:19:49 -0700
commit495768bbf552c042a06a8b4f90b6058ffebeb970 (patch)
tree53e4f2ab6ba3a76f468450d5d9d3ca0a0b41849c /css.html
parent3318a982290817b40b21a6405b85f791180b5129 (diff)
parent24f57bdf41b81fd898db0fc2b946ffd1e7b843ee (diff)
downloadbootstrap-495768bbf552c042a06a8b4f90b6058ffebeb970.tar.xz
bootstrap-495768bbf552c042a06a8b4f90b6058ffebeb970.zip
Merge branch 'master' of github.com:twbs/bootstrap
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 3ea6a84c7..a07567620 100644
--- a/css.html
+++ b/css.html
@@ -2198,6 +2198,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>
@@ -2209,6 +2213,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>