E033 - 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!
For a data-dismiss="alert"
alert dismissal button to work properly, the .alert
must have the .alert-dismissible
class.
Wrong:
<div class="alert alert-warning" role="alert">
<button type="button" data-dismiss="alert">Dismiss</button>
Better check yourself, you're not looking too good.
</div>
Right:
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" data-dismiss="alert">Dismiss</button>
Better check yourself, you're not looking too good.
</div>