Yutiliti fɔ layout
Fɔ mek yu ebul fɔ divɛlɔp am kwik kwik wan ɛn we go ɛp yu fɔ ansa, Bootstrap gɛt bɔku bɔku yutiliti klas dɛn fɔ sho, ayd, alaynɛd, ɛn spɛshal tin dɛn.
We de chenjdisplay
Yuz wi displei yutiliti fɔ rispɔnsivli toggling kɔmɔn valyu dɛn fɔ di display
prɔpati. Miks am wit wi grid sistem, kɔntinyu, ɔ kɔmpɔnɛnt dɛn fɔ sho ɔ ayd dɛn akɔdin to sɔm patikyula viupɔt dɛn.
Fleksbɔks opshɔn dɛn
Bootstrap na bil wit flexbox, bɔt nɔto ɔl elemɛnt in display
dɛn dɔn chenj to display: flex
as dis go ad bɔku ɔvarayd dɛn we nɔ nid ɛn chenj di ki brawza bihayvya dɛn we yu nɔ bin de ɛkspɛkt. Mɔs pan wi kɔmpɔnɛnt dɛn bil wit flexbox we dɛn dɔn ɛnabul.
If yu nid fɔ ad display: flex
to wan ɛlimɛnt, du am wit .d-flex
ɔ wan pan di rispɔnsiv vayriɔnt dɛn (ɛgz., .d-sm-flex
). Yu go nid dis klas ɔ display
valyu fɔ alaw fɔ yuz wi ɛkstra fleksbɔks yutiliti fɔ sayz, alaynɛshɔn, spɛshal, ɛn ɔda tin dɛn.
Margin ɛn padding
Yuz di margin
ɛn padding
spays yutiliti fɔ kɔntrol aw di ɛlimɛnt ɛn kɔmpɔnɛnt dɛn spɛshal ɛn saiz. Bootstrap inklud wan siks-lɛvel skel fɔ spɛshal yutiliti dɛn, bays pan wan 1rem
valyu difɔlt $spacer
vɛriɔbul. Pik valyu fɔ ɔl di viupɔt dɛn (ɛgz., .me-3
fɔ margin-right: 1rem
insay LTR), ɔ pik rispɔnsiv vayriɔnt dɛn fɔ tɔch spɛshal viupɔt dɛn (ɛgz., .me-md-3
fɔ margin-right: 1rem
—insay LTR— we bigin na di md
brekpɔynt).
Toggle fɔ di wan dɛn we devisibility
We display
yu nɔ nid fɔ tɔgl, yu kin tɔgl di visibility
ɔf wan ɛlimɛnt wit wi visibiliti yutiliti dɛn . Di tin dɛn we yu nɔ go si go stil afɛkt di we aw di pej de, bɔt dɛn kin ayd dɛn wit di we aw pipul dɛn nɔ go si am.