Bootstrap
v5.3.8The popular CSS framework with responsive grid, components and JavaScript plugins.
Quick start
Add these tags to your page. Place stylesheets in the <head> and scripts just before the closing </body> tag.
HTML
<link rel="stylesheet" href="https://jscdns.net/libs/bootstrap/5.3.8/css/bootstrap.min.css"
integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
<script src="https://jscdns.net/libs/bootstrap/5.3.8/js/bootstrap.bundle.min.js"
integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>Files
| File | Size | Copy |
|---|---|---|
| css/bootstrap.min.cssStylesheet | 226.7 KB | |
| js/bootstrap.bundle.min.jsScript | 78.6 KB | |
| js/bootstrap.min.jsScript | 59.1 KB | |
| css/bootstrap-grid.min.cssStylesheet | 50.6 KB | |
| css/bootstrap-utilities.min.cssStylesheet | 83.5 KB | |
| css/bootstrap.rtl.min.cssStylesheet | 226.8 KB |
Usage
Complete example
A minimal page that loads Bootstrap and uses it. Copy it into a file and open it in your browser.
example.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://jscdns.net/libs/bootstrap/5.3.8/css/bootstrap.min.css"
integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
</head>
<body>
<button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#demo">Open modal</button>
<div class="modal fade" id="demo" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">Hello from Bootstrap.</div>
</div>
</div>
</div>
<script src="https://jscdns.net/libs/bootstrap/5.3.8/js/bootstrap.bundle.min.js"
integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
<script>
// Components can also be created from JavaScript
const modal = new bootstrap.Modal('#demo');
modal.show();
</script>
</body>
</html>Good to know. Use bootstrap.bundle.min.js unless you already load Popper yourself. The bundle includes Popper, which dropdowns, tooltips and popovers depend on.