bootstrap 4 alrets code example

Example 1: bootstrap alerts

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