aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-07-31 16:46:21 -0700
committerChris Rebert <[email protected]>2013-07-31 16:47:22 -0700
commite66096368988300cce1b42c7788db6ffeec3acf8 (patch)
tree18a60e96b25050b87b594a80fd3d7936873cb2cb /css.html
parentf62fb27b048c8b6b2d7cff1531e71df81f05395c (diff)
downloadbootstrap-e66096368988300cce1b42c7788db6ffeec3acf8.tar.xz
bootstrap-e66096368988300cce1b42c7788db6ffeec3acf8.zip
use separate `form-group`s in horiz form example for greater generality; fixes #8925
Diffstat (limited to 'css.html')
-rw-r--r--css.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/css.html b/css.html
index d17bfcb34..e917cb40e 100644
--- a/css.html
+++ b/css.html
@@ -1302,11 +1302,19 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
<div class="col-lg-10">
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-offset-2 col-lg-10">
<div class="checkbox">
<label>
<input type="checkbox"> Remember me
</label>
</div>
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-offset-2 col-lg-10">
<button type="submit" class="btn btn-default">Sign in</button>
</div>
</div>
@@ -1323,11 +1331,19 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
<div class="col-lg-10">
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-offset-2 col-lg-10">
<div class="checkbox">
<label>
<input type="checkbox"> Remember me
</label>
</div>
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-offset-2 col-lg-10">
<button type="submit" class="btn btn-default">Sign in</button>
</div>
</div>