Bootstrap grid ɛgzampul dɛn
Besik grid layout fɔ mek yu sabi fɔ bil insay di Bootstrap grid sistem.
Insay dɛn ɛgzampul ya .themed-grid-col
, dɛn ad di klas to di kɔlɔm dɛn fɔ ad sɔm tim dɛn. Dis nɔto klas we de na Bootstrap bay difɔlt.
Fayv grid taya dɛn
Fayv taya de fɔ di Bootstrap grid sistem, wan fɔ ɛni rɛnj ɔf divays dɛn we wi de sɔpɔt. Ɛni taya de stat wit wan minimum viupɔt saiz ɛn i de aplay fɔ di big divays dɛn ɔtomɛtik wan pas dɛn ɔvarayd dɛn.
Tri ikwal kɔlɔm dɛn
Gɛt tri ikwal-wid kɔlɔm dɛn we bigin na dɛsktɔp ɛn skel to big dɛsktɔp dɛn . Na mobayl divays dɛn, tablɛt dɛn ɛn dɔŋ ya, di kɔlɔm dɛn go stak ɔtomɛtik wan.
Tri ikwal kɔlɔm dɛn ɔltɛrnativ
We yu yuz di .row-cols-*
klas dɛn, yu kin mek wan grid we gɛt ikwal kɔlɔm dɛn izi wan.
.col
pikin fɔ
.row-cols-md-3
.col
pikin fɔ
.row-cols-md-3
.col
pikin fɔ
.row-cols-md-3
Tri kɔlɔm dɛn we nɔ ikwal
Gɛt tri kɔlɔm dɛn we bigin na dɛsktɔp ɛn skel to big dɛsktɔp dɛn we gɛt difrɛn wit. Mɛmba se, grid kɔlɔm dɛn fɔ ad to twɛlv fɔ wan ɔrizɔntal blɔk. Mɔ pas dat, ɛn kɔlɔm dɛn bigin fɔ stak ilɛksɛf na di say we dɛn de si di pikchɔ.
Tu kɔlɔm dɛn
Gɛt tu kɔlɔm dɛn we bigin na dɛsktɔp ɛn skel to big dɛsktɔp dɛn .
Ful wit, wan kɔlɔm
No grid klas nɔ nid fɔ ful-wid ɛlimɛnt dɛn.
Tu kɔlɔm dɛn wit tu kɔlɔm dɛn we dɛn dɔn nɛst
Per di dokumɛnt, nest izi—jɔs put wan row fɔ kɔlɔm dɛn insay wan kɔlɔm we dɔn de. Dis de gi yu tu kɔlɔm dɛn we de stat na dɛsktɔp ɛn skel to big dɛsktɔp , wit ɔda tu (ikwal wit) insay di big kɔlɔm.
Na mobayl divays saiz, tablɛt ɛn dɔŋ, dɛn kɔlɔm ya ɛn dɛn nest kɔlɔm dɛn go stak.
Miks: mobayl ɛn dɛsktɔp
Di Bootstrap v5 grid sistem gɛt siks taya dɛn fɔ klas dɛn: xs (ɛkstra smɔl, dɛn nɔ de yuz dis klas infiks), sm (smɔl), md (midul), lg (big), xl (x-big), ɛn xxl (xx -big). Yu kin yuz klos to ɛni kɔmbaynshɔn fɔ dɛn klas ya fɔ mek mɔ dinamik ɛn fleksibul layout dɛn.
Ɛni taya fɔ klas dɛn de skel ɔp, we min se if yu plan fɔ sɛt di sem wit fɔ md, lg, xl ɛn xxl, yu jɔs nid fɔ spɛsifa md.
Miks: mobayl, tablɛt, ɛn dɛsktɔp
Gɔta dɛn
Wit .gx-*
klas, dɛn kin ajɔst di ɔrizɔntal gɔta dɛn.
.col
wit
.gx-4
gɔta
dɛn.col
wit
.gx-4
gɔta
dɛn.col
wit
.gx-4
gɔta
dɛn.col
wit
.gx-4
gɔta
dɛn.col
wit
.gx-4
gɔta
dɛn.col
wit
.gx-4
gɔta
dɛnYuz di .gy-*
klas dɛn fɔ kɔntrol di vertikal gɔta dɛn.
.col
wit
.gy-4
gɔta
dɛn.col
wit
.gy-4
gɔta
dɛn.col
wit
.gy-4
gɔta
dɛn.col
wit
.gy-4
gɔta
dɛn.col
wit
.gy-4
gɔta
dɛn.col
wit
.gy-4
gɔta
dɛnWit .g-*
klas, dɛn kin ajɔst di gɔta dɛn na ɔl tu di say dɛn.
.col
wit
.g-3
gɔta
dɛn.col
wit
.g-3
gɔta
dɛn.col
wit
.g-3
gɔta
dɛn.col
wit
.g-3
gɔta
dɛn.col
wit
.g-3
gɔta
dɛn.col
wit
.g-3
gɔta
dɛnKɔntena dɛn
Atikul klas dɛn we dɛn ad na Bootstrap v4.4 alaw kɔntena dɛn we gɛt 100% waid te wan patikyula brekpɔynt. v5 ad wan nyu xxl
brekpoint.