You can provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. See the examples.
Detailed documentation and more examples you can find in our Bootstrap Alerts Docs
Dismissing
Using the alert JavaScript plugin, it’s possible to dismiss any alert inline. Here’s how:
.alert-dismissible
class, which adds extra padding
to the right of the alert and positions the close button.
data-mdb-dismiss="alert"
attribute, which triggers
the JavaScript functionality. Be sure to use the button
element with it for
proper behavior across all devices.
.fade
and .show classes
.