mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
use separate form-group
s in horiz form example for greater generality; fixes #8925
This commit is contained in:
parent
f62fb27b04
commit
e660963689
1 changed files with 16 additions and 0 deletions
16
css.html
16
css.html
|
@ -1302,11 +1302,19 @@ For example, <code><section></code> should be wrapped as inline.
|
||||||
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
|
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
|
||||||
<div class="col-lg-10">
|
<div class="col-lg-10">
|
||||||
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
|
<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">
|
<div class="checkbox">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox"> Remember me
|
<input type="checkbox"> Remember me
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</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>
|
<button type="submit" class="btn btn-default">Sign in</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1323,11 +1331,19 @@ For example, <code><section></code> should be wrapped as inline.
|
||||||
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
|
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
|
||||||
<div class="col-lg-10">
|
<div class="col-lg-10">
|
||||||
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
|
<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">
|
<div class="checkbox">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox"> Remember me
|
<input type="checkbox"> Remember me
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</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>
|
<button type="submit" class="btn btn-default">Sign in</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue