Yeqela kokuqukethwe okuyinhloko Yeqela ku-docs navigation
in English

Izinsiza zesakhiwo

Ukuze uthole intuthuko esheshayo esebenziseka kalula futhi esabelayo, i-Bootstrap ifaka inqwaba yamakilasi awusizo okubonisa, ukucasha, ukuqondanisa, nokuqukethwe kokuhlukanisa.

Iyashintshadisplay

Sebenzisa izinsiza zethu zokubonisa ukuze uphendule ngokuphendula amanani avamile displaywendawo. Yixube nesistimu yethu yegridi, okuqukethwe, noma izingxenye ukuze uzibonise noma uzifihle kuzo zonke izindawo zokubuka ezithile.

Izinketho ze-Flexbox

I-Bootstrap yakhiwe nge-flexbox, kodwa akuwona wonke ama-elementi displayashintshelwe ekubeni display: flexlokhu kungase kwengeze okungaphezulu okungadingekile futhi kushintshe ngokungalindelekile ukuziphatha kwesiphequluli esiyinhloko. Izingxenye zethu eziningi zakhiwe nge-flexbox enikwe amandla.

Uma kufanele wengeze display: flexku-elementi, kwenze lokho .d-flexnoma ngeyodwa yezinhlobonhlobo ezisabelayo (isb, .d-sm-flex). Uzodinga leli klasi noma displayinani ukuze uvumele ukusetshenziswa kwezinsiza zethu ezengeziwe ze- flexbox zokulinganisa, ukuqondanisa, izikhala, nokuningi.

I-Margin kanye ne-padding

Sebenzisa izinsiza marginkanye padding nokubeka izikhala ukuze ulawule ukuthi izakhi nezingxenye zihlukaniswa kanjani nosayizi. I-Bootstrap ihlanganisa isikali samaleveli ayisithupha sezinsiza zokuhlukanisa izikhala, ngokusekelwe 1remkunani elizenzakalelayo $spacereliguquguqukayo. Khetha amanani azo zonke izinkundla zokubuka (isb, .me-3ku margin-right: 1rem-LTR), noma khetha okuhlukile okusabelayo ukuze uqondise izimbobo zokubuka ezithile (isb, .me-md-3kwe—ku margin-right: 1rem-LTR— kusukela endaweni yokuphumula md).

Guqulavisibility

Uma displayukuguqula kungadingeki, ungaguqula visibilityisici ngezinsiza zethu ezibonakalayo . Izinto ezingabonakali zisazothinta ukwakheka kwekhasi, kodwa zifihlekile ezivakashini.