Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
Herst edited this page Oct 21, 2018 · 4 revisions

E013

Bootlint v0.x

Only columns (.col-*-*) may be children of .rows

Bootlint found non-grid-column children of grid rows. Bootstrap's grid system requires that all children of grid rows must be grid columns.

Wrong:

<div class="row">
  <div class="my-awesome-thing">...</div>
  <div class="other-thing">...</div>
  <div class="row">...</div>
</div>

Right:

<div class="row">
  <div class="col-sm-6">...</div>
  <div class="col-lg-12">...</div>
  <div class="col-xs-12">
    <div class="row">...</div>
  </div>
</div>

Bootlint v1.x (Bootlint for Bootstrap v4 and newer)

Only columns (.col*) or .clearfix may be children of .rows or .form-rows

Bootlint found non-grid-column children of grid rows. Bootstrap's grid system requires that all children of grid rows must be grid columns.

Wrong:

<div class="row">
  <div class="my-awesome-thing">...</div>
  <div class="other-thing">...</div>
  <div class="row">...</div>
</div>

Right:

<div class="row">
  <div class="col-sm-6">...</div>
  <div class="col-lg-12">...</div>
  <div class="col-12">
    <div class="row">...</div>
  </div>
</div>
Clone this wiki locally