Yeqela kokuqukethwe okuyinhloko Yeqela ku-docs navigation
in English

Z-inkomba

Nakuba engeyona ingxenye yohlelo lwegridi ye-Bootstrap, izinkomba zika-z zidlala indima ebalulekile endleleni izingxenye zethu ezimbondelana ngayo futhi zihlanganyele zodwa.

Izingxenye ezimbalwa ze-Bootstrap zisebenzisa z-index, isici se-CSS esiza ukulawula isakhiwo ngokunikeza i-eksisi yesithathu ukuhlela okuqukethwe. Sisebenzisa isikali esizenzakalelayo se-z-inkomba ku-Bootstrap esiklanyelwe ukusendlalela ngokufanele ukuzulazula, amathiphu wamathuluzi nama-popovers, amamodeli, nokuningi.

Lawa manani aphezulu aqala enombolweni engafanele, ephezulu futhi ecacile ngokwanele ukugwema ukungqubuzana. Sidinga isethi evamile yalokhu kuzo zonke izingxenye zethu ezinengqimba—amathuluzi, ama-popovers, ama-navbar, okwehliswayo, amamodeli—ukuze sikwazi ukungaguquguquki ngendlela enengqondo ekuziphatheni. Asikho isizathu sokuthi singasebenzisanga 100+ noma 500+.

Asikukhuthazi ukwenziwa ngendlela oyifisayo lawa manani angawodwana; uma ushintsha eyodwa, cishe udinga ukuwashintsha wonke.

$zindex-dropdown:                   1000;
$zindex-sticky:                     1020;
$zindex-fixed:                      1030;
$zindex-offcanvas-backdrop:         1040;
$zindex-offcanvas:                  1045;
$zindex-modal-backdrop:             1050;
$zindex-modal:                      1055;
$zindex-popover:                    1070;
$zindex-tooltip:                    1080;

Ukusingatha imingcele egqagqene ngaphakathi kwezingxenye (isb, izinkinobho nokokufaka emaqenjini okokufaka), sisebenzisa amanani aphansi edijithi eyodwa z-indexethi 1, 2, kanye nezimo 3ezizenzakalelayo, ezihamba phezulu, nezisebenzayo. Kokuhambisa phezulu/okugxilile/okusebenzayo, siletha into ethile phambili enevelu eliphezulu z-indexukubonisa umngcele wayo phezu kwama-elementi ayizelamani.