Document .alert-dismissible .close restrictions; fixes #14802

[skip sauce]
This commit is contained in:
Chris Rebert 2014-10-22 18:03:31 -07:00
parent 3c98dd35ba
commit 8d806b0ae5
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<h2 id="alerts-examples">Example alerts</h2>
<p>Add dismiss functionality to all alert messages with this plugin.</p>
<p>When using a <code>.close</code> button, it must be the first child of the <code>.alert-dismissible</code> and no text content may come before it in the markup.</p>
<div class="bs-example bs-example-standalone">
<div class="alert alert-warning alert-dismissible fade in" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>