What are Bootstrap alerts and how do you close them?
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>Warning!</strong> Check the fields.
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
Live preview
See Alerts.
Learn more about the similar topics:
| Tutorials |
|---|
| Bootstrap Buttons |
| Bootstrap Alerts |
| Bootstrap Badges |
| Bootstrap Cards |
| Bootstrap List Group |
| Bootstrap Progress Bars and Spinners |
| Bootstrap Icons |