Jya ku bintu nyamukuru Jya kuri docs
in English

Z-indangagaciro

Mugihe atari igice cya sisitemu ya gride ya Bootstrap, z-indangagaciro zigira uruhare runini muburyo ibice byacu byuzuzanya kandi bigakorana.

Ibice byinshi bya Bootstrap ikoresha z-index, umutungo wa CSS ufasha kugenzura imiterere utanga umurongo wa gatatu kugirango utegure ibirimo. Twifashishije igipimo gisanzwe cya z-indangagaciro muri Bootstrap yagenewe gukora neza kugendagenda neza, ibikoresho hamwe na popovers, modal, nibindi byinshi.

Indangagaciro zo hejuru zitangirira kumubare utabishaka, muremure kandi wihariye bihagije kugirango wirinde amakimbirane. Dukeneye urutonde rusanzwe rwibi bice byacu - ibikoresho, popovers, navbars, ibitonyanga, modal - kuburyo dushobora guhuza ibitekerezo muburyo bwiza. Ntampamvu tutashoboraga gukoresha 100+ cyangwa 500+.

Ntabwo dushishikarizwa kwihitiramo indangagaciro; ugomba guhindura imwe, birashoboka ko ugomba guhindura byose.

$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;

Kugirango ukemure imipaka irenze ibice (urugero, buto ninjiza mumatsinda yinjiza), dukoresha imibare mike yimibare z-indexya 1,, 2na 3kubisanzwe, kuzenguruka, na leta zikora. Kuri hover / kwibanda / gukora, tuzana ikintu runaka kumwanya wambere hamwe z-indexnagaciro keza kugirango twerekane imipaka yabo kubintu bavukana.