forked from JHarry444/LBG-HTML-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.html
More file actions
63 lines (58 loc) · 2.14 KB
/
bootstrap.html
File metadata and controls
63 lines (58 loc) · 2.14 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap - Grids</title>
<!-- Grab the <link> from https://getbootstrap.com/ and insert it here -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<style>
button {
width: 100px;
}
</style>
</head>
<body>
<!-- Center this <main> with the margin trick -->
<main style="">
<!-- Use the bootstrap docs to find the correct class to make this div a grid -->
<div class="container">
<!-- Use the correct classes to create three equal rows and columns -->
<div class="row">
<div class="col">
<button class="border border-success">1</button>
</div>
<div class="col">
<button class="border border-success">2</button>
</div>
<div class="col">
<button class="border border-success">3</button>
</div>
</div>
<div class="row">
<div class="col">
<button class="border border-success">4</button>
</div>
<div class="col">
<button class="border border-success">5</button>
</div>
<div class="col">
<button class="border border-success">6</button>
</div>
</div>
<div class="row">
<div class="col">
<button class="border border-success">7</button>
</div>
<div class="col">
<button class="border border-success">8</button>
</div>
<div class="col">
<button class="border border-success" >9</button>
</div>
</div>
</div>
</main>
</body>
</html>