This repository has been archived by the owner on Sep 18, 2018. It is now read-only.
forked from twbs/bootlint
E017
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!
Incorrect markup used with the .checkbox
class. The correct markup structure is .checkbox>label>input[type="checkbox"]
Bootstrap's .checkbox
class requires the use of a specific DOM structure which matches the CSS selector .checkbox>label>input[type="checkbox"]
. Using the .checkbox
class with a different DOM structure can cause problems.
Right:
<div class="checkbox">
<label>
<input type="checkbox" /> Label text goes here
</label>
</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.