Alerts
Standard 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. for links use .alert-link
Dismissible Alerts
Build on any alert by adding an optional .alert-dismissible
and close button. Be sure to use the <button>
element with the data-dismiss="alert"
data attribute.
Custom Alerts
Use .alert-custom
class along with the .alert
class to get custom alert, you can also use contextual classes (e.g., .alert-info
) and .alert-link
for customized links you should wrap the alert title in a block element (e.g., <h4>
) with class .alert-title
custom alert success
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magnam
custom alert danger
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Neque
custom alert info
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magnam
custom alert warning
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Neque