-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBootstrap_tutorials.txt
More file actions
289 lines (134 loc) · 4.57 KB
/
Copy pathBootstrap_tutorials.txt
File metadata and controls
289 lines (134 loc) · 4.57 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
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
What is Bootstrap ?
CSS Framework
Bootstrap 3 VS Bootstrap 4 VS Bootstrap 5.
How many framework of CSS ?
Bootstrap.
Tailwind CSS.
Foundation.
Bulma.
Skeleton.
but 90% websites lay on bootstrap.
which CSS framework should we learn ?
Advantages of Bootstrap.
Forms,
Responsiveness,
Less Code,
With Attractive Design.
Responsive Layouts.
Cross Questions.
We learn Bootstrap 5.
Resonsiveness depend on common classes.
container , container-fluid , row , col..
We have a Multiple Breakpoints.
Extra extra large (xxl) : >=1400px
Extra large (xl) : >=1200px
Large (lg) : >=992px
Medium (md) : >=768px
Small (sm) : >=576px
Extra Small : < 576px
What is Grid System ?
col , col-1 , col-xxl-1 , col-xl-1 , col-lg-1 , col-md-1 , col-sm-1 , col-xs-1;
What is offset ?
offset-* , offset-xxl-* , offset-xl-* , offset-lg-* , offset-md-* , offset-sm-* , offset-xs-*;
what is order or re-odering ?
order-* , order-xxl-* , order-xl-* , order-lg-* , order-md-* , order-sm-* , order-xs-*;
Nesting row exist ???
Same value 0 to 5.
Margin same as CSS. it is spacing external.
m-* , mr-* , mb-* , mt-* , ml-* , m-xxl-* , m-xl-* , m-lg-* , m-md-* , m-sm-* , m-xs-* , m-auto , ml-auto , mr-auto
my-* ,
mx-*...
Padding same as CSS. it is spacing internal
p-* , pr-* , pb-* , pt-* , pl-* , p-xxl-* , p-xl-* , p-lg-* , p-md-* , p-sm-* , p-xs-* .
py-* ,
px-*
Horizontal Alignment....
same work as a justify-content.
justify-content-center , justify-content-end , justify-content-start , justify-content-arrond , justify-content-space ,
justify-content-between.
same work on mid-point.
Vertical Alignment.
same work as align-item property in CSS.
align-items-start , align-items-end , align-items-stretch.........
Vertical Alignment with multiple childs (two or more rows).
same work as align-item property in CSS.
align-content-start , align-content-end , align-content-stretch.........
================================================================
Display :
d-none ,
d-inline,
d-block,
d-inline-block,
d-flex.
same work on break points.
==================================================
Position Classes.
position-relative,
position-absolute,
postion-fixed,
postion-sticky,
position-static,
fixed-top , fixed-bottom.. it is use in Navbar , sidebar.
background-color , colors
text-formatting classes.
text-center,
text-start,
text-end,
font-size
h1 - h6 , display-1 - display-4..
Buttons in Bootstrap.
btn constant and use other classes : btn-primary, btn-secondary , btn-dark...........
=======================================================
borders..
.border for simple border.
.border-* put value in * value.
.border-top-0 , border-bottom-0 ...
.border-primary use with border
.border-secondary use with border
.border-success use with border
.border-danger use with border
.border-warning use with border
.border-info use with border
.border-light use with border
.border-dark use with border
.border-white use with border
Forms
.form-label .. it is use for label
.form-control .. it is use for form input.
.form-control-lg .. it is use with form-control.
.form-control-sm ... it is use with form-control.
for select :
.form-select .. it is use for select
.form-select-lg .. it is use with form-select.
.form-select-sm ... it is use with form-select.
for Radio & checkbox.
.form-check-label for label with checkbox.
.form-check-input for radio & checkbox.
for range.
.form-range for range type.
================ for gallery ======================
For Images.
.rounded
.rounded-top
.rounded-end
.rounded-bottom
.rounded-start
.rounded-circle
.rounded-pill.
.img-thumbnail
=========================== Table =============================
.table
.table-border
.table-striped
.table-dark .table-hover
.table-responsive with another div.
===========================================
Loader or Spinners
.spinner-border use with text-colors
.spinner-grow use with text-colors
you cane use with spinner-grow-sm or spinner-border-sm
=========================================
Modified List
ul .>>>> .list-group
li >>> .list-group-item
Carousel Slider ...