<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Grid Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap 5 CSS CDN -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container mt-5">
<h1>Bootstrap 5 Grid Example</h1>
<p class="text-muted">Resize the browser window to see the responsive behavior.</p>
<!-- A row containing three columns that sum up to 12 (4 + 4 + 4) on small screens and up -->
<div class="row text-white text-center">
<div class="col-sm-4 bg-primary p-3 border">Column 1 (col-sm-4)</div>
<div class="col-sm-4 bg-secondary p-3 border">Column 2 (col-sm-4)</div>
<div class="col-sm-4 bg-success p-3 border">Column 3 (col-sm-4)</div>
</div>
</div>
<!-- Bootstrap 5 JavaScript Bundle CDN -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
No Comment yet!