0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
This commit is contained in:
Mark Otto 2013-08-16 11:10:35 -07:00
parent 771ac3207e
commit 6965c12e30
2 changed files with 6 additions and 8 deletions

View File

@ -47,8 +47,12 @@
</li> </li>
</ul> </ul>
<form class="navbar-form navbar-right"> <form class="navbar-form navbar-right">
<input type="text" placeholder="Email" class="form-control"> <div class="form-group">
<input type="password" placeholder="Password" class="form-control"> <input type="text" placeholder="Email" class="form-control">
</div>
<div class="form-group">
<input type="password" placeholder="Password" class="form-control">
</div>
<button type="submit" class="btn">Sign in</button> <button type="submit" class="btn">Sign in</button>
</form> </form>
</div><!--/.navbar-collapse --> </div><!--/.navbar-collapse -->

View File

@ -4,12 +4,6 @@ body {
padding-bottom: 20px; padding-bottom: 20px;
} }
/* Set widths on the navbar form inputs since otherwise they're 100% wide */
.navbar-form input[type="text"],
.navbar-form input[type="password"] {
width: 180px;
}
/* Wrapping element */ /* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */ /* Set some basic padding to keep content from hitting the edges */
.body-content { .body-content {