0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

use static top navbar in jumbotron

This commit is contained in:
Mark Otto 2014-12-04 01:07:04 -08:00
parent 04d9091158
commit 7c391867d7
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,7 @@
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<nav class="navbar navbar-inverse navbar-static-top">
<a class="navbar-brand" href="#">Project name</a>
<ul class="nav nav-pills">
<li class="nav-item active">

View File

@ -1,5 +1,4 @@
/* Move down content because we have a fixed navbar that is 50px tall */
body {
padding-top: 5rem;
padding-bottom: 2rem;
}