aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorJavier Eguiluz <[email protected]>2013-09-05 11:57:23 +0200
committerJavier Eguiluz <[email protected]>2013-09-05 11:57:23 +0200
commit6c0f20c446912276b723448b8d33a4462f2f8d29 (patch)
treef2394965c25f5c4957102638d221ecafd93cbfe7 /css.html
parent31dfc3218e4aafca3a3963a632a22ee018362c00 (diff)
downloadbootstrap-6c0f20c446912276b723448b8d33a4462f2f8d29.tar.xz
bootstrap-6c0f20c446912276b723448b8d33a4462f2f8d29.zip
[doc] fixed the horizontal form example
Diffstat (limited to 'css.html')
-rw-r--r--css.html32
1 files changed, 16 insertions, 16 deletions
diff --git a/css.html b/css.html
index 3cfc92258..cf2f1ca73 100644
--- a/css.html
+++ b/css.html
@@ -1585,19 +1585,19 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<div class="bs-example">
<form class="form-horizontal">
<div class="form-group">
- <label for="inputEmail1" class="col-lg-2 control-label">Email</label>
- <div class="col-lg-10">
- <input type="email" class="form-control" id="inputEmail1" placeholder="Email">
+ <label for="inputEmail3" class="col-sm-2 control-label">Email</label>
+ <div class="col-sm-10">
+ <input type="email" class="form-control" id="inputEmail3" placeholder="Email">
</div>
</div>
<div class="form-group">
- <label for="inputPassword1" class="col-lg-2 control-label">Password</label>
- <div class="col-lg-10">
- <input type="password" class="form-control" id="inputPassword1" placeholder="Password">
+ <label for="inputPassword3" class="col-sm-2 control-label">Password</label>
+ <div class="col-sm-10">
+ <input type="password" class="form-control" id="inputPassword3" placeholder="Password">
</div>
</div>
<div class="form-group">
- <div class="col-lg-offset-2 col-lg-10">
+ <div class="col-sm-offset-2 col-sm-10">
<div class="checkbox">
<label>
<input type="checkbox"> Remember me
@@ -1606,7 +1606,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
</div>
</div>
<div class="form-group">
- <div class="col-lg-offset-2 col-lg-10">
+ <div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Sign in</button>
</div>
</div>
@@ -1615,19 +1615,19 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
{% highlight html %}
<form class="form-horizontal" role="form">
<div class="form-group">
- <label for="inputEmail1" class="col-lg-2 control-label">Email</label>
- <div class="col-lg-10">
- <input type="email" class="form-control" id="inputEmail1" placeholder="Email">
+ <label for="inputEmail3" class="col-sm-2 control-label">Email</label>
+ <div class="col-sm-10">
+ <input type="email" class="form-control" id="inputEmail3" placeholder="Email">
</div>
</div>
<div class="form-group">
- <label for="inputPassword1" class="col-lg-2 control-label">Password</label>
- <div class="col-lg-10">
- <input type="password" class="form-control" id="inputPassword1" placeholder="Password">
+ <label for="inputPassword3" class="col-sm-2 control-label">Password</label>
+ <div class="col-sm-10">
+ <input type="password" class="form-control" id="inputPassword3" placeholder="Password">
</div>
</div>
<div class="form-group">
- <div class="col-lg-offset-2 col-lg-10">
+ <div class="col-sm-offset-2 col-sm-10">
<div class="checkbox">
<label>
<input type="checkbox"> Remember me
@@ -1636,7 +1636,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
</div>
</div>
<div class="form-group">
- <div class="col-lg-offset-2 col-lg-10">
+ <div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Sign in</button>
</div>
</div>