Pitani kuzinthu zazikulu Pitani kumayendedwe adocs
in English

Zothandizira pakupanga

Pachitukuko chofulumira chosavuta kugwiritsa ntchito komanso chomvera, Bootstrap imaphatikizapo makalasi ambiri othandizira kuwonetsa, kubisala, kuyanjanitsa, ndi masitayilo.

Kusinthadisplay

Gwiritsani ntchito zida zathu zowonetsera kuti musinthe momasuka zinthu zofananira zapanyumbayo display. Sakanizani ndi grid system yathu, zomwe zili, kapena zida kuti muwonetse kapena kuzibisa pamawonekedwe enaake.

Zosankha za Flexbox

Bootstrap imamangidwa ndi flexbox, koma sizinthu zonse zomwe displayzasinthidwa kuti display: flexizi ziwonjezere zambiri zosafunikira ndikusintha mosayembekezereka machitidwe akuluakulu a msakatuli. Zambiri mwazinthu zathu zimamangidwa ndi flexbox.

Ngati mukufuna kuwonjezera display: flexchinthu, chitani ndi .d-flexchimodzi mwazosiyana (mwachitsanzo, .d-sm-flex). Mufunika kalasi ili kapena displaymtengo kuti mulole kugwiritsa ntchito zida zathu zowonjezera za flexbox pakukulitsa , kuyanjanitsa, mipata, ndi zina.

Margin ndi padding

Gwiritsani ntchito zida marginndi padding masitayilo kuti muwongolere momwe zinthu ndi zigawo zake zimakhalira komanso kukula kwake. Bootstrap imaphatikizapo sikelo ya sikelo isanu ndi umodzi ya zinthu zomwe zingagwiritsidwe ntchito motalikirana, kutengera 1remmtengo wosasintha $spacer. Sankhani makonda a malo onse owonera (mwachitsanzo, .me-3mu margin-right: 1remLTR), kapena sankhani mitundu yomvera kuti mulondole malo enaake (mwachitsanzo, .me-md-3- margin-right: 1remmu LTR - kuyambira pomwe mdpakudutsa).

Sinthanivisibility

Ngati kusanja displaysikukufunika, mutha kusintha visibilitychinthucho ndi zida zathu zowonekera . Zinthu zosawoneka zidzakhudzabe mawonekedwe a tsamba, koma ndizobisika kwa alendo.