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 311
E005
Herst edited this page Oct 21, 2018
·
3 revisions
The .row
class and grid column classes (e.g. .col-md-5
) should not be used together on the same element. Instead, nest one within the other.
Wrong:
<div class="row col-xs-6">...</div>
Right (Note that the two options have different meanings):
<div class="row">
<div class="col-xs-6">...</div>
</div>
<!-- Or, depending on the semantics you need: -->
<div class="col-xs-6">
<div class="row">...</div>
</div>
The .row
class and grid column classes (e.g. .col-md-5
) should not be used together on the same element. Instead, nest one within the other.
Wrong:
<div class="row col-md-6">...</div>
Right (Note that the two options have different meanings):
<div class="row">
<div class="col-md-6">...</div>
</div>
<!-- Or, depending on the semantics you need: -->
<div class="col-md-6">
<div class="row">...</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.