-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUtilities.html
196 lines (138 loc) · 7.34 KB
/
Utilities.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!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>Document</title>
<link rel="stylesheet" href="bootstrap.min.css">
<script src="bootstrap.bundle.min.js"></script>
<style>
span{
display: inline-block;
width: 70px;
height: 70px;
margin: 6px;
background-color: #555;
}
</style>
</head>
<body>
<span class="border"></span>
<span class="border border-0"></span>
<span class="border border-top-0"></span>
<span class="border border-end-0"></span>
<span class="border border-botton-0"></span>
<span class="border border-start-0"></span>
<span class="border-top"></span>
<span class="border-end"></span>
<span class="border-bottom"></span>
<span class="border-start"></span>
<span class="border border-1"></span>
<span class="border border-2"></span>
<span class="border border-3"></span>
<span class="border border-4"></span>
<span class="border border-5"></span>
<span class="border border-primary"></span>
<span class="border border-secondary"></span>
<span class="border border-success"></span>
<span class="border border-danger"></span>
<span class="border border-warning"></span>
<span class="border border-info"></span>
<span class="border border-light"></span>
<span class="border border-dark"></span>
<span class="border border-white"></span>
<span class="rounded"></span>
<span class="rounded-top"></span>
<span class="rounded-end"></span>
<span class="rounded-bottom"></span>
<span class="rounded-start"></span>
<span class="rounded-circle"></span>
<span class="rounded-pill" style="width:130px"></span>
<br>
<span class="rounded-0"></span>
<span class="rounded-1"></span>
<span class="rounded-2"></span>
<span class="rounded-3"></span>
<span class="rounded-4"></span>
<span class="rounded-5"></span>
<div class="clearfix">
<span class="float-start">Float left</span>
<span class="float-end">Float right</span>
</div>
<div class="clearfix">
<div class="float-sm-end">Float right on small screen or wider</div>
<div class="float-md-end">Float right on medium screen or wider</div>
<div class="float-lg-end">Float right on large screen or wider</div>
<div class="float-xl-end">Float right on extra large screen or wider</div>
<div class="float-xxl-end">Float right on xxl screen or wider</div>
<div class="float-none">Float none</div>
</div>
<div class="mx-auto bg-warning" style="width: 70px">Centered</div>
<div class="w-25 bg-warning">Width 25%</div>
<div class="w-50 bg-warning">width 50%</div>
<div class="w-75 bg-warning">width 75%</div>
<div class="w-100 bg-warning">width 100%</div>
<div class="w-auto bg-warning">Auto width</div>
<div class="mw-100 bg-warning">Max Width 100%</div>
<div class="h-25 d-incline-block p-2 bg-warning">Height 25%</div>
<div class="h-50 d-incline-block p-2 bg-warning">Height 50%</div>
<div class="h-75 d-incline-block p-2 bg-warning">Height 75%</div>
<div class="h-100 d-incline-block p-2 bg-warning">Heigt 100%</div>
<div class="h-auto d-incline-block p-2 bg-warning">Auto Height</div>
<div class="mh-100 d-incline-block p-2 bg-warning" style="height:500px">Max height 100%</div>
<div class="pt-4 bg-warning">I only have a top padding (1.5 rem)</div>
<div class="p-5 bg-success">I have a padding on all sides</div>
<div class="m-5 pb-5 bg-info" >hbjj</div>
<div class="mt-0 bg-warning">Margin Top 0</div>
<div class="mt-1 bg-warning">Margin Top 1</div>
<div class="mt-2 bg-warning">Margin Top 2</div>
<div class="mt-3 bg-warning">Margin Top 3</div>
<div class="mt-4 bg-warning">Margin Top 4</div>
<div class="mt-5 bg-warning">Margin Top 5</div>
<div class="mt-auto bg-warning" style="width:150px">Margin Top Auto</div>
<div class="mb-sm-5 bg-warning"> margin Bottom 5 on Sm Screen</div>
<div class="mb-md-5 bg-warning"> margin Bottom 5 on Sm Screen</div>
<div class="mb-lg-5 bg-warning"> margin Bottom 5 on Sm Screen</div>
<div class="mb-xl5 bg-warning"> margin Bottom 5 on Sm Screen</div>
<div class="me-0 bg-warning">Margin left 0</div>
<div class="me-3 bg-warning">Margin left 3</div>
<div class="me-sm-5 bg-warning"> margin left 5 on Sm Screen</div>
<div class="me-lg-5 bg-warning"> margin left 5 on lg Screen</div>
<div class="mx-0 bg-warning">Margin left 0</div>
<div class="mx-3 bg-warning">Margin left 3</div>
<div class="mx-sm-5 bg-warning"> margin left 5 on Sm Screen</div>
<div class="mx-lg-5 bg-warning"> margin left 5 on lg Screen</div>
<div class="my-0 bg-warning">Margin left 0</div>
<div class="my-3 bg-warning">Margin left 3</div>
<div class="my-sm-5 bg-warning"> margin left 5 on Sm Screen</div>
<div class="my-lg-5 bg-warning"> margin left 5 on lg Screen</div>
<div class="p-0 bg-warning">padding 0</div>
<div class="p-3 bg-warning">padding 3</div>
<div class="p-sm-5 bg-warning"> Padding 5 on small screen</div>
<div class="p-lg-5 bg-warning"> padding 5 on lg Screen</div>
<div class="shadow-none p-4 mb-4 bg-light">No Shodow</div>
<div class="shadow-sm p-4 mb-4 bg-white">Small shadow</div>
<div class="shadow p-4 mb-4 bg-white">Default shadow</div>
<div class="shadow-lg p-4 mb-4 bg-white">Large shadow</div>
<span class="align-baseline">baseline</span>
<span class="align-top">top</span>
<span class="align-middle">middle</span>
<span class="align-bottom">Bottom</span>
<span class="align-text-top">text-top</span>
<span class="align-text-bottom">text-buttom</span>
<div class="ratio ratio-1x1">
<iframe width="560" height="315" src="https://www.youtube.com/embed/VkX7CrN6e7Q" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
<div class="ratio ratio-4x3">
<iframe width="560" height="315" src="https://www.youtube.com/embed/VkX7CrN6e7Q" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
<div class="ratio ratio 16x9">
<iframe width="560" height="315" src="https://www.youtube.com/embed/VkX7CrN6e7Q" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
<div class="ratio ratio 21x9">
<iframe width="560" height="315" src="https://www.youtube.com/embed/VkX7CrN6e7Q" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
<button type="button" class="btn-close"></button>
</body>
</html>