This repository has been archived by the owner on Sep 18, 2018. It is now read-only.
forked from twbs/bootlint
-
Notifications
You must be signed in to change notification settings - Fork 0
E035
Herst edited this page Sep 8, 2018
·
2 revisions
Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!
Neither .form-inline
nor .form-horizontal
should be used directly on a .form-group
. Instead, nest the .form-group
within the .form-inline
or .form-horizontal
.form-inline
and .form-horizontal
are meant as containers for form content and are typically used on <form>
s (although using them on <div>
s is also valid). .form-group
is meant to contain a single label-field pair. Using .form-inline
or .form-horizontal
on .form-group
doesn't make sense. Instead, put the .form-group
within the .form-inline
or .form-horizontal
.
Wrong:
<div class="form-group form-inline">
...
</div>
<div class="form-group form-horizontal">
...
</div>
Right:
<div class="form-inline">
<div class="form-group">
...
</div>
</div>
<div class="form-horizontal">
<div class="form-group">
...
</div>
</div>
Bootlint-NG documentation wiki content is licensed under the CC BY 3.0 License, and based on Bootstrap's docs which are copyright Twitter, Inc. For the original Bootlint documentation this is a fork of, see https://github.com/twbs/bootlint/wiki.