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

E023

Bootlint v0.x

.panel-body must have a .panel or .panel-collapse parent

A .panel-body must be a direct child of its .panel or .panel-collapse. No levels of intervening elements are permitted between the .panel-body and the .panel or .panel-collapse.

Wrong:

<div class="panel panel-default">
  <div class="my-super-special-wrapper">
    <div class="panel-body">
      Basic panel example
    </div>
  </div>
</div>

Right:

<div class="panel panel-default">
  <div class="panel-body">
    Basic panel example
  </div>
</div>

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

.card-body must have .card or have it as an ancestor

A .card-body must have .card or be child of an element with it.

Clone this wiki locally