You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2022. It is now read-only.
cvrebert edited this page Oct 30, 2014
·
1 revision
E034
.close button for .alert must be the first element in the .alert
Wrong:
<divclass="alert alert-warning alert-dismissible" role="alert">
You're not looking too good.
<buttontype="button" class="close" data-dismiss="alert"><spanaria-hidden="true">×</span><spanclass="sr-only">Close</span></button>
Better check yourself
</div><divclass="alert alert-warning alert-dismissible" role="alert"><ul><li>Other elements like this list should come after the close button</li></ul><buttontype="button" class="close" data-dismiss="alert"><spanaria-hidden="true">×</span><spanclass="sr-only">Close</span></button>
Better check yourself, you're not looking too good.
</div>
Right:
<divclass="alert alert-warning alert-dismissible" role="alert"><buttontype="button" class="close" data-dismiss="alert"><spanaria-hidden="true">×</span><spanclass="sr-only">Close</span></button>
Better check yourself, you're not looking too good.
</div><divclass="alert alert-warning alert-dismissible" role="alert"><buttontype="button" class="close" data-dismiss="alert"><spanaria-hidden="true">×</span><spanclass="sr-only">Close</span></button><ul><li>Other elements like this list should come after the close button</li></ul>
Better check yourself, you're not looking too good.
</div>