-
Notifications
You must be signed in to change notification settings - Fork 0
/
sizing.html
87 lines (70 loc) · 3.72 KB
/
sizing.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
crossorigin="anonymous">
<title>Bootstrap</title>
</head>
<body>
<div class="container">
<!--##################START HERE####################-->
<!-- WIDTH CLASSES (w-25, 50, 75, 100, auto)-->
<div class="w-25 mb-3 bg-success p-3">Width 25%</div>
<div class="w-50 bg-success p-3">Width 50%</div>
<div class="w-75 bg-success p-3">Width 75%</div>
<div class="w-100 bg-success p-3">Width 100%</div>
<div class="w-auto bg-success p-3">Width Auto</div>
<br>
<br>
<!-- HEIGHT CLASSES (give height, h-25, 50, 75)-->
<div class= "bg-warning" style= "height: 500px;">
<div class="bg-primary d-inline-block h-25">Height 25%</div>
<div class="bg-primary d-inline-block">Height 50%</div>
<div class="bg-primary d-inline-block">Height 75%</div>
<div class="bg-primary d-inline-block">Height 100%</div>
<div class="bg-primary d-inline-block">Height Auto</div>
</div>
<br>
<br>
<!-- BORDERS (border, border-top, bottom, left, right)-->
<div class="p-3 mb-2 bg-light border">Regular</div>
<div class="p-3 mb-2 bg-light border-top">Border Top</div>
<div class="p-3 mb-2 bg-light border-bottom">Border Bottom</div>
<div class="p-3 mb-2 bg-light border-right">Border Right</div>
<div class="p-3 mb-2 bg-light border-left">Border Left</div>
<br>
<br>
<!-- BORDER COLORS (border border-primary)-->
<div class="p-3 mb-2 bg-light border border-primary">Primary</div>
<div class="p-3 mb-2 bg-light">Secondary</div>
<div class="p-3 mb-2 bg-light">Success</div>
<div class="p-3 mb-2 bg-light">Info</div>
<div class="p-3 mb-2 bg-light border-bottom border-top border-warning">Warning</div>
<div class="p-3 mb-2 bg-light">Danger</div>
<div class="p-3 mb-2 bg-light">Light</div>
<div class="p-3 mb-2 bg-light">Dark</div>
<div class="p-3 mb-2 bg-light">White</div>
<br>
<br>
<!-- BORDER RADIUS (shadow rounded, rounded-top)-->
<div class="p-3 mb-2 bg-light border border-warning rounded">Rounded</div>
<div class="p-3 mb-2 bg-light border rounded-top border-warning ">Rounded Top</div>
<div class="p-3 mb-2 bg-light border rounded-bottom">Rounded Bottom</div>
<div class="p-3 mb-2 bg-light border rounded-right">Rounded Right</div>
<div class="p-3 mb-2 bg-light">Rounded Left</div>
<div class="p-3 mb-2 bg-light w-25 border rounded-circle">Rounded Circle</div>
<div class="p-3 mb-2 bg-light">Dark</div>
</div>
<!-- ./container -->
<div style="margin-top:500px;"></div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T"
crossorigin="anonymous"></script>
</body>
</html>