E025 - Herst/bootlint-ng GitHub Wiki

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


E025

.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>
⚠️ **GitHub.com Fallback** ⚠️