<p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
...
...
@@ -24,31 +26,45 @@ title: Alerts
<buttontype="button"class="btn btn-danger">Take this action</button>
<buttontype="button"class="btn btn-secondary">Or do this</button>
</p>
</div>
</div><!-- /example -->
</div>
{% endexample %}
## Usage
<h2id="alerts-usage">Usage</h2>
<p>Enable dismissal of an alert via JavaScript:</p>
<p>Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.</p>
Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the `.fade` and `.in` class already applied to them.
<h3>Events</h3>
<p>Bootstrap's alert class exposes a few events for hooking into alert functionality.</p>