SVG Icons Shortcode
Alerts are available for any length of text, as well as an optional dismiss button.
For proper styling, use one of the eight required contextual classes
(e.g., .alert-success
).
For inline dismissal, use the alerts jQuery plugin.
NOTE: SVG icons do not appear when you are viewing the page from a local file. This is because the SVG injection script requires AJAX to work, which only works on a server.
Size
icon-xs
icon-sm
icon-md
default
icon-lg
icon-xl