Alerts
Alerts can be used to provide feedback messages to users. Different types of alerts are available for different types of messages.
Types of Alerts
Below are examples of different
types of alerts. Add a .alert
class a
div to crea a default alert. The type of alert can be changed by
adding differnt classes like .alert-primary
,
.alert-secondary
, .alert-success
,
.alert-warning
and .alert-danger
. In the
clert container there should be two divs with the following classes
.alert-icon
and .alert-content
. If you dont
want the icon you can remove the div with the class
.alert-icon
or keep the div empty.
Default Alert
This is a default alert with some content.
Primary Alert
This is a primary alert with some content.
Secondary Alert
This is a secondary alert with some content.
Success Alert
This is a success alert with some content.
Warning Alert
This is a warning alert with some content.
Danger Alert
This is a danger alert with some content.