From b4cc6c74f59442879ba2b1ed3e86d26e62390835 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 21 Feb 2012 21:12:16 -0800 Subject: add support and docs for .navbar-fixed-bottom --- docs/components.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 172fbcf20..9cfd261ff 100644 --- a/docs/components.html +++ b/docs/components.html @@ -849,13 +849,24 @@ </div>

Fixed navbar

-

To make the navbar fixed to the top of the viewport, add .navbar-fixed-top to the outermost div, .navbar.

+

Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, .navbar.

+
+
 <div class="navbar navbar-fixed-top">
   ...
 </div>
 
-

In your CSS, you will also need to account for the overlap it causes by adding 40px or more of padding to your <body>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.

+
+
+
+<div class="navbar navbar-fixed-bottom">
+  ...
+</div>
+
+
+
+

When you affix the navbar, remember to account for the hidden area underneath. Add 40px or more of apdding to the <body>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.

Brand name

A simple link to show your brand or project name only requires an anchor tag.

-- 
cgit v1.2.3