bootstrap alert with close button code example

Example 1: bootstrap errors








Example 2: bootstrap 4 success alert








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