E005 - Herst/bootlint-ng GitHub Wiki

Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!


E005

Found both .row and .col-*-* used on the same element

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>
⚠️ **GitHub.com Fallback** ⚠️