Izakhiwo zegridi eziyisisekelo ukuze ujwayelane nokwakha ngaphakathi kwesistimu yegridi ye-Bootstrap.
Kulezi zibonelo .themed-grid-col
ikilasi lengezwa kumakholomu ukuze kwengezwe ingqikithi ethile. Leli akulona ikilasi elitholakala ku-Bootstrap ngokuzenzakalelayo.
Kunezigaba ezinhlanu ohlelweni lwegridi ye-Bootstrap, eyodwa yohlu ngalunye lwamadivayisi esiwasekelayo. Isigaba ngasinye siqala kusayizi omncane wembobo yokubuka futhi sisebenza ngokuzenzakalelayo kumadivayisi amakhulu ngaphandle kwalapho kubhalwe ngaphezulu.
Thola amakholomu amathathu anobubanzi obulinganayo uqale kumadeskithophu futhi ulinganisele kumadeskithophu amakhulu . Kumadivayisi eselula, amathebulethi nangaphansi, amakholomu azostake ngokuzenzakalelayo.
Thola amakholomu amathathu aqala kumadeskithophu bese ufinyelela kumadeskithophu amakhulu anobubanzi obuhlukahlukene. Khumbula, amakholomu egridi kufanele afinyelele eshumini nambili kubhulokhi eyodwa evundlile. Ngaphezu kwalokho, namakholomu aqala ukunqwabelana kungakhathaliseki ukuthi imbobo yokubuka.
Thola amakholomu amabili aqala kumadeskithophu bese ufinyelela kumadeskithophu amakhulu .
Awekho amakilasi egridi adingekayo kuma-elementi anobubanzi obugcwele.
Ngokwamadokhumenti, ukwenza isidleke kulula—vele ufake umugqa wamakholomu ngaphakathi kwekholomu ekhona. Lokhu kukunikeza amakholomu amabili aqala kumadeskithophu bese ufinyelela kumadeskithophu amakhulu , namanye amabili (ububanzi obulinganayo) ngaphakathi kwekholomu enkulu.
Kosayizi bedivayisi yeselula, amathebulethi naphansi, lawa makholomu namakholomu awo akhiwe azonqwabelana.
Uhlelo lwegridi ye-Bootstrap v4 lunezigaba ezinhlanu zamakilasi: ama-xs (amancane kakhulu, lesi sigaba se-infix asisetshenziswa), sm (okuncane), md (okumaphakathi), lg (okukhulu), kanye ne-xl (okukhulu ngokwengeziwe). Ungasebenzisa cishe noma iyiphi inhlanganisela yalezi zigaba ukuze udale izakhiwo eziguqukayo nezivumelana nezimo.
Isigaba ngasinye samakilasi siyakhuphuka, okusho ukuthi uma uhlela ukusetha ububanzi obufanayo be-md, lg kanye ne-xl, udinga kuphela ukucacisa i-md.
Amakilasi engeziwe engezwe ku-Bootstrap v4.4 avumela iziqukathi ezinobubanzi obungu-100% kuze kube indawo ethile yokuphumula.