E026 - 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!
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>