This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 312
E012
Herst edited this page Oct 21, 2018
·
2 revisions
.input-group
and .col-*-*
cannot be used directly on the same element. Instead, nest the .input-group
within the .col-*-*
Grid column classes (e.g. .col-xs-7
) cannot be used on an .input-group
. Instead, you must nest the .input-group
within the grid columns.
Wrong:
<div class="input-group col-sm-5">
<span class="input-group-addon">@</span>
<input type="text" class="form-control" placeholder="Username">
</div>
Right:
<div class="col-sm-5">
<div class="input-group">
<span class="input-group-addon">@</span>
<input type="text" class="form-control" placeholder="Username">
</div>
</div>
.input-group
and .col*
cannot be used directly on the same element. Instead, nest the .input-group
within the .col-*-*
Grid column classes (e.g. .col-sm-7
) cannot be used on an .input-group
. Instead, you must nest the .input-group
within the grid columns.
Wrong:
<div class="input-group col-sm-5">
<span class="input-group-prepend">@</span>
<input type="text" class="form-control" placeholder="Username">
</div>
Right:
<div class="col-sm-5">
<div class="input-group">
<span class="input-group-prepend">@</span>
<input type="text" class="form-control" placeholder="Username">
</div>
</div>
Bootlint documentation wiki content is licensed under the CC BY 3.0 License, and based on Bootstrap's docs which are copyright Twitter, Inc.