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
W018
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!
The contained elements do not need to be in a row/column at all since it will render the same way without using the grid in the first place. Using a combination of grid classes that includes a .col-*-12
is ok.
Wrong:
<div class="row">
<div class="col-md-12">
<p>Content here</p>
</div>
</div>
Right:
<p>Content here</p>
Another example:
<div class="row">
<div class="col-sm-6 col-md-12">
<p>This is fine since it also uses other grid sizes</p>
</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.