Examples
Alerts are available for any length of text,as well as an optional dismiss button. For proper styling,use one of the eight requiredcontextual classes(e.g.,.alert-success
). For inline dismissal,use the alerts jQuery plugin.
This is a primary alert—check it out!
This is a secondary alert—check it out!
This is a success alert—check it out!
This is a danger alert—check it out!
This is a warning alert—check it out!
This is a info alert—check it out!
This is a light alert—check it out!
This is a dark alert—check it out!
Dismissing
Add a dismiss button and the .alert-dismissible
class,which adds extra padding to the right of the alert and positions the .close
button.
Holy guacamole!You should check in on some of those fields below.
Holy guacamole!You should check in on some of those fields below.
Holy guacamole!You should check in on some of those fields below.
Holy guacamole!You should check in on some of those fields below.
Holy guacamole!You should check in on some of those fields below.
Holy guacamole!You should check in on some of those fields below.
Holy guacamole!You should check in on some of those fields below.
Holy guacamole!You should check in on some of those fields below.