Alerts provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

Alerts

Wrap any text and an optional dismiss button in .alert and one of the four contextual classes (e.g., .alert-success) for basic alert messages.

Examples:

HTML Code:

<div class="alert alert-success" role="alert">
	<strong>Well done!</strong> You successfully read this important alert message.
</div>

<div class="alert alert-info" role="alert">
	<strong>Heads up!</strong> This alert needs your attention, but it's not super important.
</div>

<div class="alert alert-warning" role="alert">
	<strong>Warning!</strong> Better check yourself, you're not looking too good.
</div>

<div class="alert alert-danger" role="alert">
	<strong>Oh snap!</strong> Change a few things up and try submitting again.
</div>

Callouts

Add the class .alert-callout for a minimalistic style.

Examples:

HTML Code:

<div class="alert alert-success alert-callout" role="alert">
	<strong>Well done!</strong> You successfully read this important alert message.
</div>

<div class="alert alert-info alert-callout" role="alert">
	<strong>Heads up!</strong> This alert needs your attention, but it's not super important.
</div>

<div class="alert alert-warning alert-callout" role="alert">
	<strong>Warning!</strong> Better check yourself, you're not looking too good.
</div>

<div class="alert alert-danger alert-callout" role="alert">
	<strong>Oh snap!</strong> Change a few things up and try submitting again.
</div>