Alerts
Basic Alerts
Add contextual classes (e.g., .alert-success
) for basic alert messages.
NEWS : You have done 5 actions.
INFO : You have 198 messages
SUCCESS : The page has been added.
DANGER : The daily report has failed
WARNING : Bandwidth limit exceeded
Link In Alerts
Use the .alert-link
utility class to quickly provide matching colored links within any alert.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. like to play game
Lorem ipsum dolor sit amet, consectetur adipiscing elit. like to play game
Lorem ipsum dolor sit amet, consectetur adipiscing elit. like to play game
Alert Dismissible
Build on any alert by adding an optional .alert-dismissible
and close button.
NEWS : You have done 5 actions.
INFO : You have 198 messages
SUCCESS : The page has been added.
DANGER : The daily report has failed
WARNING : Bandwidth limit exceeded
Alert With Content
Alerts can also contain additional HTML elements like headings, paragraphs and dividers.
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.