bootstrap alert alert-danger code example

Example 1: boootstrap alerts








Example 2: bootstrap Alerts

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.

















Example 3: 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:
-------------


Alert with close button and decriptive feature:
------------------------------------------------


Trigger via javascript:
$(".alert").alert();

Tags:

Misc Example