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

E025

Bootlint v0.x

.panel-footer must have a .panel parent

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

Wrong:

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

Right:

<div class="panel panel-default">
  <div class="panel-body">
    Panel content
  </div>
  <div class="panel-footer">Panel footer</div>
</div>

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

.card-footer must have a .card ancestor

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

Clone this wiki locally