Bootstrap 3 Alerts
Display pre-styled alerts and messages for common user actions.
Bootstrap provides an easy way to create a stylized alert message box with its alert component.
To create an alert box, use the
.alert class along with one of the
.alert-* classes to specify the kind of alert.
You can create dismissible alerts by adding Bootstrap's
.alert-dismissible class, along with a Close button. When the user clicks the Close button, the alert disappears.
Here we use
× to create the Close icon (×).
Alerts with Links
.alert-link class on the
<a> tag to match link color with the text.