aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-02 18:59:06 -0700
committerMark Otto <[email protected]>2013-08-02 18:59:06 -0700
commitb5dcbf5045cf9b533c6b47718a7ee29be5a9092c (patch)
tree4cffe04e0fcac2fbf3fcd1aacf1d08c10aa6934c /css.html
parent6b850132d056a136dc4734c4d68c9e1c23b7843e (diff)
parente66096368988300cce1b42c7788db6ffeec3acf8 (diff)
downloadbootstrap-b5dcbf5045cf9b533c6b47718a7ee29be5a9092c.tar.xz
bootstrap-b5dcbf5045cf9b533c6b47718a7ee29be5a9092c.zip
Merge pull request #8934 from twbs/generalize-horiz-form-example
use separate `form-group`s in horiz form example for greater generality
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 a75dbde12..15682d97b 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>