Z-index
In kasta oo aanay qayb ka ahayn nidaamka xariijimaha Bootstrap, z-indexes waxay door muhiim ah ka ciyaaraan sida qaybaheenu u dulmaan oo ula falgalaan midba midka kale.
Qaybo badan oo Bootstrap ah ayaa isticmaala z-index
, hantida CSS ee ka caawisa xakamaynta qaabeynta iyadoo la siinayo dhidibka saddexaad si loo habeeyo nuxurka. Waxaan u isticmaalnaa cabbirka z-index-ka caadiga ah ee Bootstrap kaas oo loo qaabeeyey inuu si sax ah lakabka ugu dhejiyo navigation, tabaha aaladaha iyo popovers, moodooyinka, iyo in ka badan.
Qiimayaashan sare waxay ku bilowdaan tiro aan sabab lahayn, sare oo gaar ah oo ku filan si looga fogaado isku dhacyada. Waxaan u baahanahay jaangooyooyin kuwan ka kooban qaybahayada lakabyada ah - qalab-tips, popovers, navbars, dropdowns, modals - si aan si macquul ah ugu socono dabeecadaha. Ma jirto sabab aanaan u isticmaali karin 100
+ ama 500
+.
Ma dhiirigelineyno habeynta qiyamkan shaqsiyeed; Haddii aad mid bedesho, waxay u badan tahay inaad u baahan tahay inaad wada beddesho.
$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;
$zindex-toast: 1090;
Si loo xakameeyo soohdimaha is dulsaaran ee ka kooban qaybaha (tusaale, badhamada iyo gelinta kooxaha galinta), waxaanu isticmaalnaa z-index
qiimayaal hal lambar oo hooseeya ee 1
, 2
, iyo 3
kuwa caadiga ah, duleelka, iyo gobolada firfircoon. Kor-u-qaadista/fiirsashada/firfircoonida, waxaanu keenaynaa shay gaar ah safka hore oo leh z-index
qiime sare si ay u muujiyaan xuduudkooda canaasirta walaalaha ah.