mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Remove uncessary col-form-label
from form row docs (#24335)
This commit is contained in:
parent
80c909c99c
commit
217d344fa8
@ -314,36 +314,36 @@ More complex layouts can also be created with the grid system.
|
|||||||
<form>
|
<form>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
<label for="inputEmail4" class="col-form-label">Email</label>
|
<label for="inputEmail4">Email</label>
|
||||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
<label for="inputPassword4" class="col-form-label">Password</label>
|
<label for="inputPassword4">Password</label>
|
||||||
<input type="password" class="form-control" id="inputPassword4" placeholder="Password">
|
<input type="password" class="form-control" id="inputPassword4" placeholder="Password">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="inputAddress" class="col-form-label">Address</label>
|
<label for="inputAddress">Address</label>
|
||||||
<input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St">
|
<input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="inputAddress2" class="col-form-label">Address 2</label>
|
<label for="inputAddress2">Address 2</label>
|
||||||
<input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor">
|
<input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
<label for="inputCity" class="col-form-label">City</label>
|
<label for="inputCity">City</label>
|
||||||
<input type="text" class="form-control" id="inputCity">
|
<input type="text" class="form-control" id="inputCity">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
<label for="inputState" class="col-form-label">State</label>
|
<label for="inputState">State</label>
|
||||||
<select id="inputState" class="form-control">
|
<select id="inputState" class="form-control">
|
||||||
<option selected>Choose...</option>
|
<option selected>Choose...</option>
|
||||||
<option>...</option>
|
<option>...</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-2">
|
<div class="form-group col-md-2">
|
||||||
<label for="inputZip" class="col-form-label">Zip</label>
|
<label for="inputZip">Zip</label>
|
||||||
<input type="text" class="form-control" id="inputZip">
|
<input type="text" class="form-control" id="inputZip">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user