-
Notifications
You must be signed in to change notification settings - Fork 0
/
Demo-8.html
45 lines (44 loc) · 1.71 KB
/
Demo-8.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!-- Demonstrate how to apply different Bootstrap 5.3 color utilities to various HTML elements. -->
<!-- Bootstrap Online link CSS,JS -->
<!-- CSS=https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css
-->
<!-- JS=https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js
-->
<!-- Task on grid system-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bootstrap 5.3: Containers and Grid</title>
<link rel="stylesheet" href="../Assest/CSS/bootstrap.min.css" />
</head>
<style>
.box {
border: 1.5px solid;
padding: 30px;
}
</style>
<body>
<div class="container-fluid text-center">
<!-- <h1 class="text-primary">Hello</h1>
<h1 class="text-secondary">Hello</h1>
<h1 class="text-danger">Hello</h1>
<h1 class="text-warning">Hello</h1>
<h1 class="text-success">Hello</h1>
<h1 class="text-info">Hello</h1>
<h1 class="text-light bg-dark">Hello</h1>
<h1 class="text-dark">Hello</h1> -->
<div class="row box">
<div class="col-12 col-sm-6 col-md-4 col-lg-4 col-xl-2 box">1</div>
<div class="col-12 col-sm-6 col-md-4 col-lg-4 col-xl-2 box">2</div>
<div class="col-12 col-sm-6 col-md-4 col-lg-4 col-xl-2 box">3</div>
<div class="col-12 col-sm-6 col-md-4 col-lg-4 col-xl-2 box">4</div>
<div class="col-12 col-sm-6 col-md-4 col-lg-4 col-xl-2 box">5</div>
<div class="col-12 col-sm-6 col-md-4 col-lg-4 col-xl-2 box">6</div>
</div>
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js
"></script>
</html>