-
Notifications
You must be signed in to change notification settings - Fork 0
/
margin.html
48 lines (41 loc) · 1.86 KB
/
margin.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
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BootStrap 5 Basic</title>
<!-- CDN link
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous"> -->
<!-- Compiled CSS and JS -->
<link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body>
<div class="container" style="margin-top: 20px;"></div>
<!-- margin spacing -->
<h1 class="bg-success mb-0">margin bottom 0</h1>
<h1 class="bg-success mb-1">margin bottom 1</h1>
<h1 class="bg-success mb-2">margin bottom 2</h1>
<h1 class="bg-success mb-3">margin bottom 3</h1>
<h1 class="bg-success mb-4">margin bottom 4</h1>
<h1 class="bg-success mb-5">margin bottom 5</h1>
<!-- Margin size -->
<h1 class="bg-warning mt-5">Margin Top</h1>
<h1 class="bg-warning mb-5">Margin Bottom</h1>
<h1 class="bg-warning ms-5">Margin Left</h1>
<h1 class="bg-warning me-5">Margin Right</h1>
<!-- ML $ MR Spacing -->
<h1 class="bg-primary me-5">Margin Right 5</h1>
<h1 class="bg-primary ms-3">Margin Left 3</h1>
<!-- MX -->
<h1 class="bg-danger mx-4">Margin Left $ Right 5</h1>
<!-- MY -->
<h1 class="bg-danger my-5">Margin Top $ Bottom 5</h1>
<!-- Blank -->
<h1 class="bg-warning m-5">Margin Blank</h1>
<!-- CDN link
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script> -->
<!-- Compiled CSS and JS -->
<script src="/js/bootstrap.min.js"></script>
</body>
</html>