-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap2.html
More file actions
69 lines (57 loc) · 2.15 KB
/
bootstrap2.html
File metadata and controls
69 lines (57 loc) · 2.15 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
64
65
66
67
68
69
<!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>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
<style>
button {
height: 80px;
width: 80px;
margin: 20px;
}
</style>
</head>
<body>
<!-- Center this <main> with the margin trick -->
<main style="margin: auto; width: 50%">
<!-- Use the bootstrap docs to find the correct class to make this div a grid -->
<div class="container">
<div class="row">
<div class="col">
<button type="button" class="btn btn-outline-success">1</button>
</div>
<div class="col">
<button type="button" class="btn btn-outline-success">2</button>
</div>
<div class="col">
<button type="button" class="btn btn-outline-success">3</button>
</div>
</div>
<div class="row">
<div class="col">
<button type="button" class="btn btn-outline-success">4</button>
</div>
<div class="col">
<button type="button" class="btn btn-outline-success">5</button>
</div>
<div class="col">
<button type="button" class="btn btn-outline-success">6</button>
</div>
</div>
<div class="row">
<div class="col">
<button type="button" class="btn btn-outline-success">7</button>
</div>
<div class="col">
<button type="button" class="btn btn-outline-success">8</button>
</div>
<div class="col">
<button type="button" class="btn btn-outline-success">9</button>
</div>
</div>
</div>
</main>
</body>
</html>