Hla mus rau cov ntsiab lus tseem ceeb Hla mus rau docs navigation
in English

Customize

Kawm yuav ua li cas rau lub ntsiab lus, kho, thiab txuas ntxiv Bootstrap nrog Sass, lub nkoj thauj khoom ntawm kev xaiv thoob ntiaj teb, kev nthuav dav xim, thiab ntau dua.

Txheej txheem cej luam

Muaj ntau txoj hauv kev los kho Bootstrap. Koj txoj hauv kev zoo tshaj plaws tuaj yeem nyob ntawm koj qhov project, qhov nyuaj ntawm koj cov cuab yeej tsim, version ntawm Bootstrap koj siv, kev txhawb nqa browser, thiab ntau dua.

Peb ob txoj kev nyiam yog:

  1. Siv Bootstrap ntawm tus thawj tswj pob yog li koj tuaj yeem siv thiab txuas ntxiv peb cov ntaub ntawv.
  2. Siv Bootstrap cov ntaub ntawv muab faib ua ke lossis jsDelivr yog li koj tuaj yeem ntxiv rau lossis hla Bootstrap cov qauv.

Thaum peb tsis tuaj yeem nkag mus rau hauv cov ntsiab lus ntawm no yuav ua li cas siv txhua tus neeg saib xyuas pob, peb tuaj yeem muab qee cov lus qhia txog kev siv Bootstrap nrog koj tus kheej Sass compiler .

Rau cov neeg uas xav siv cov ntaub ntawv xa tawm, tshuaj xyuas nplooj ntawv pib yuav ua li cas suav nrog cov ntaub ntawv thiab piv txwv nplooj HTML. Los ntawm qhov ntawd, sab laj cov ntaub ntawv rau kev teeb tsa, cov khoom siv, thiab tus cwj pwm koj xav siv.

Raws li koj paub koj tus kheej nrog Bootstrap, txuas ntxiv tshawb xyuas ntu no kom paub meej ntxiv txog yuav ua li cas siv peb cov kev xaiv thoob ntiaj teb, siv thiab hloov peb cov xim, peb tsim peb cov khoom li cas, siv peb cov npe loj hlob ntawm CSS kev cai, thiab yuav ua li cas. txhawm rau txhim kho koj cov cai thaum tsim nrog Bootstrap.

CSPs thiab embedded SVGs

Ob peb Bootstrap Cheebtsam suav nrog kos SVGs hauv peb CSS kom style cov khoom tsis tu ncua thiab yooj yim hla browsers thiab khoom siv. Rau cov koom haum nrog CSP kev teeb tsa nruj dua , peb tau sau tag nrho cov xwm txheej ntawm peb cov SVGs (tag nrho cov uas tau thov los ntawm background-image) yog li koj tuaj yeem saib xyuas koj cov kev xaiv ntau dua.

Raws li kev sib tham hauv zej zog , qee qhov kev xaiv los hais txog qhov no hauv koj tus kheej codebase suav nrog hloov cov URLs nrog cov cuab yeej cuab tam hauv zos, tshem tawm cov duab thiab siv cov duab inline (tsis tuaj yeem ua tau hauv txhua yam), thiab hloov kho koj CSP. Peb qhov kev pom zoo yog ua tib zoo tshuaj xyuas koj tus kheej txoj cai ruaj ntseg thiab txiav txim siab txog txoj hauv kev zoo tshaj plaws rau pem hauv ntej, yog tias tsim nyog.