alert message bootstrap css style radiuos code example
Example 1: bootstrap alert box
Alerts in Bootstrap:
--------------------------------
Alert classes you can use to check
.alert-primary
.alert-secondary
.alert-success
.alert-danger
.alert-warning
.alert-info
.alert-light
.alert-dark
Simple alert:
-------------
This is a primary alert—check it out!
Alert with close button and decriptive feature:
------------------------------------------------
Holy guacamole! You should check in on some of those fields below.
Trigger via javascript:
$(".alert").alert();
Example 2: bootstrap Alerts Additional 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.