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

Additional content

Alerts can also contain additional .alert-heading and .alert-link for headings and links, plus hr for spacing.

Dismissing alerts

Add a dismiss button and the .alert-dismissible class, which adds extra padding to the right of the alert and positions the .close button.

On the dismiss button, add the data-dismiss="alert" attribute.