mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
also use .col-sm-* in other .form-horizontal example for consistency
This commit is contained in:
parent
df5aa7c0f1
commit
7247527f04
1 changed files with 8 additions and 8 deletions
16
css.html
16
css.html
|
@ -1797,14 +1797,14 @@ For example, <code><section></code> should be wrapped as inline.
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<form class="form-horizontal" role="form">
|
<form class="form-horizontal" role="form">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-lg-2 control-label">Email</label>
|
<label class="col-sm-2 control-label">Email</label>
|
||||||
<div class="col-lg-10">
|
<div class="col-sm-10">
|
||||||
<p class="form-control-static">email@example.com</p>
|
<p class="form-control-static">email@example.com</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
|
<label for="inputPassword" class="col-sm-2 control-label">Password</label>
|
||||||
<div class="col-lg-10">
|
<div class="col-sm-10">
|
||||||
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
|
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1813,14 +1813,14 @@ For example, <code><section></code> should be wrapped as inline.
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<form class="form-horizontal" role="form">
|
<form class="form-horizontal" role="form">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-lg-2 control-label">Email</label>
|
<label class="col-sm-2 control-label">Email</label>
|
||||||
<div class="col-lg-10">
|
<div class="col-sm-10">
|
||||||
<p class="form-control-static">email@example.com</p>
|
<p class="form-control-static">email@example.com</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
|
<label for="inputPassword" class="col-sm-2 control-label">Password</label>
|
||||||
<div class="col-lg-10">
|
<div class="col-sm-10">
|
||||||
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
|
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue