Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.
Herst edited this page Sep 8, 2018 · 2 revisions

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


E024

.panel-heading must have a .panel parent

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

Wrong:

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

Right:

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