Alerts
Examples
Alerts are available for any length of text, as well as an optional dismiss button. For proper styling, use one of the four required contextual classes (e.g., .alert-success
).
Well done! You successfully read this important alert
message.
Heads up! This alert needs your attention, but it's not super important.
Warning!Better check yourself,you're not looking too
good.
Oh snap! Change a few things up and try submitting
again.
Link color
Use the .alert-link
utility class to quickly provide matching colored links within any alert.
Well done! You successfully read this
important alert message.
Heads up! This alert
needs your attention, but it's not super important.
Warning!Better check yourself,you're not
looking too good.
Oh snap! Change a few
things up and try submitting again.
Dismissing Examples
Using the alert JavaScript plugin, it’s possible to dismiss any alert inline.
Well done! You successfully read this important alert
message.
Heads up! This alert needs your attention, but it's not super important.
Holy guacamole!You should check in on some of those fields below.
Oh snap!Change a few things up and try submitting again.
Icon Examples
Alerts with icon examples.