Bootstrap grid ingero
Imiterere yibanze ya gride kugirango tumenye inyubako muri sisitemu ya Bootstrap.
Muri izo ngero urwego .themed-grid-col
rwongewe kumurongo kugirango wongere insanganyamatsiko. Ntabwo aricyiciro kiboneka muri Bootstrap kubisanzwe.
Imirongo itanu ya gride
Hano hari ibyiciro bitanu kuri sisitemu ya Bootstrap, imwe kuri buri cyiciro cyibikoresho dushyigikiye. Buri cyiciro gitangirira ku bunini bwo kureba kandi gihita gikoreshwa ku bikoresho binini keretse birenze.
Inkingi eshatu zingana
Kubona inkingi eshatu zingana- zitangirira kuri desktop no gupima kuri desktop nini . Ku bikoresho bigendanwa, ibinini na hepfo, inkingi zizahita zegeranya.
Inkingi eshatu zingana
Ukoresheje .row-cols-*
amasomo, urashobora gukora byoroshye gride hamwe ninkingi zingana.
.col
umwana wa
.row-cols-md-3
.col
umwana wa
.row-cols-md-3
.col
umwana wa
.row-cols-md-3
Inkingi eshatu zingana
Shaka inkingi eshatu zitangirira kuri desktop no gupima kuri desktop nini y'ubugari butandukanye. Wibuke, grid inkingi igomba kongeramo cumi na zibiri kumurongo umwe utambitse. Birenze ibyo, kandi inkingi zitangira gutondeka ntakibazo cyo kureba.
Inkingi ebyiri
Shaka inkingi ebyiri zitangirira kuri desktop no gupima kuri desktop nini .
Ubugari bwuzuye, inkingi imwe
Nta gride y'ibyiciro ikenewe kubintu byuzuye-ubugari.
Inkingi ebyiri hamwe ninkingi ebyiri zegeranye
Kuri inyandiko, guteramo biroroshye-shyira umurongo winkingi murwego ruriho. Ibi biguha inkingi ebyiri zitangirira kuri desktop no gupima kuri desktop nini , hamwe nibindi bibiri (ubugari bungana) murwego runini.
Ku bunini bwibikoresho bigendanwa, tableti no hepfo, izi nkingi hamwe ninkingi zazo zashyizwe hamwe.
Uruvange: mobile na desktop
Sisitemu ya Bootstrap v5 ifite ibyiciro bitandatu byamasomo: xs (ntoya nto, iyi infix yo mucyiciro ntabwo ikoreshwa), sm (nto), md (hagati), lg (nini), xl (x-nini), na xxl (xx -inini). Urashobora gukoresha hafi guhuza ibyiciro byose kugirango ukore byinshi kandi byoroshye.
Buri cyiciro cyamasomo gipima, bivuze niba uteganya gushiraho ubugari bumwe kuri md, lg, xl na xxl, ukeneye kwerekana md gusa.
Uruvange: mobile, tablet, na desktop
Gutera
Hamwe .gx-*
namasomo, imiyoboro itambitse irashobora guhinduka.
.col
hamwe
.gx-4
n'umuyoboro
.col
hamwe
.gx-4
n'umuyoboro
.col
hamwe
.gx-4
n'umuyoboro
.col
hamwe
.gx-4
n'umuyoboro
.col
hamwe
.gx-4
n'umuyoboro
.col
hamwe
.gx-4
n'umuyoboro
Koresha .gy-*
amasomo kugirango ugenzure imiyoboro ihanamye.
.col
hamwe
.gy-4
n'umuyoboro
.col
hamwe
.gy-4
n'umuyoboro
.col
hamwe
.gy-4
n'umuyoboro
.col
hamwe
.gy-4
n'umuyoboro
.col
hamwe
.gy-4
n'umuyoboro
.col
hamwe
.gy-4
n'umuyoboro
Hamwe .g-*
namasomo, imyanda mubyerekezo byombi irashobora guhinduka.
.col
hamwe
.g-3
n'umuyoboro
.col
hamwe
.g-3
n'umuyoboro
.col
hamwe
.g-3
n'umuyoboro
.col
hamwe
.g-3
n'umuyoboro
.col
hamwe
.g-3
n'umuyoboro
.col
hamwe
.g-3
n'umuyoboro
Ibikoresho
Amasomo yinyongera yongewe muri Bootstrap v4.4 yemerera kontineri zifite ubugari 100% kugeza igihe cyacitse. v5 yongeyeho ingingo nshya xxl
.