Bootstrap 5 Setup & Alert Guide
Learn how to instantly drop Bootstrap 5 into your project via CDN and utilize its powerful Alert components.
Bootstrap is the most popular CSS framework ever. It speeds up development by providing heavily tested pre-built CSS classes.
Getting Started
You can include Bootstrap 5 without downloading anything by placing this in your HTML <head>:
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
Using Alerts
Want a success message? It’s literally just two classes!
<div class="alert alert-success" role="alert">
A simple success alert—check it out!
</div>
Check out the Live Demo to see Bootstrap renders beautiful buttons and alerts with zero custom CSS!