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

E026

Bootlint v0.x

.panel-title must have a .panel-heading parent

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

Wrong:

<div class="panel panel-default">
  <div class="panel-heading">
    <div class="my-super-special-wrapper">
      <h3 class="panel-title">Panel title</h3>
    </div>
  </div>
  <div class="panel-body">
    Panel content
  </div>
</div>

Right:

<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">Panel title</h3>
  </div>
  <div class="panel-body">
    Panel content
  </div>
</div>

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

.card-title must have a .card ancestor

A .card-title must be a child of a .card.

Clone this wiki locally