0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Brush up vertical rhythm of form-check in docs. Closes #25546

This adds `form-group` to add the same vertical space to the `form-check` as in other grouped controls
used in form sample markup.

Thanks!
This commit is contained in:
Peter Blazejewicz 2018-02-04 17:44:37 +01:00 committed by Mark Otto
parent 8cfbf6933b
commit 4752159939

View File

@ -25,7 +25,7 @@ Here's a quick example to demonstrate Bootstrap's form styles. Keep reading for
<label for="exampleInputPassword1">Password</label> <label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div> </div>
<div class="form-check"> <div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1"> <input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label> <label class="form-check-label" for="exampleCheck1">Check me out</label>
</div> </div>