in English
Kev xaiv
Yooj yim hloov kho Bootstrap nrog cov sib txawv built-in kom yooj yim toggle thoob ntiaj teb CSS nyiam rau kev tswj cov qauv thiab tus cwj pwm.
Customize Bootstrap nrog peb cov ntaub ntawv sib txawv ua ke thiab yooj yim toggle thoob ntiaj teb CSS nyiam nrog $enable-*
Sass hloov tshiab. Override ib tug sib txawv tus nqi thiab recompile nrog npm run test
raws li xav tau.
Koj tuaj yeem nrhiav thiab kho qhov hloov pauv no rau cov kev xaiv thoob ntiaj teb tseem ceeb hauv Bootstrap cov scss/_variables.scss
ntaub ntawv.
Hloov pauv | Tus nqi | Kev piav qhia |
---|---|---|
$spacer |
1rem (default), lossis ib qho nqi> 0 |
Qhia meej tus nqi spacer default rau programmatically tsim peb spacer utilities . |
$enable-rounded |
true (default) los yogfalse |
Ua kom cov border-radius qauv uas tau hais ua ntej ntawm ntau yam khoom. |
$enable-shadows |
true los yog false (default) |
Pab kom zoo nkauj zoo box-shadow nkauj ua ntej ntawm ntau yam khoom. Tsis cuam tshuam box-shadow s siv rau lub xeev tsom. |
$enable-gradients |
true los yog false (default) |
Ua kom cov gradients predefined los ntawm background-image cov qauv ntawm ntau yam khoom. |
$enable-transitions |
true (default) los yogfalse |
Enables predefined transition s ntawm ntau yam Cheebtsam. |
$enable-reduced-motion |
true (default) los yogfalse |
Tso cai rau prefers-reduced-motion cov lus nug xov xwm , uas txwv tsis pub qee cov animations / kev hloov pauv raws li cov neeg siv browser / kev ua haujlwm nyiam. |
$enable-grid-classes |
true (default) los yogfalse |
Ua kom muaj cov chav kawm CSS rau cov kab sib chaws (xws li .row , .col-md-1 , thiab lwm yam). |
$enable-caret |
true (default) los yogfalse |
Enables pseudo element caret rau .dropdown-toggle . |
$enable-button-pointers |
true (default) los yogfalse |
Ntxiv "tes" tus cursor rau cov ntsiab lus uas tsis yog neeg xiam oob qhab. |
$enable-rfs |
true (default) los yogfalse |
Ntiaj teb no enables RFS . |
$enable-validation-icons |
true (default) los yogfalse |
Ua kom background-image cov cim nyob rau hauv cov ntawv nyeem thiab qee cov ntaub ntawv kev cai rau kev siv tau. |
$enable-negative-margins |
true los yog false (default) |
Pab kom tsim cov khoom siv tsis zoo . |
$enable-deprecation-messages |
true (default) los yogfalse |
Teem kom false zais cov lus ceeb toom thaum siv ib qho ntawm cov khoom siv tsis txaus ntseeg thiab cov haujlwm uas tau npaj yuav raug tshem tawm hauv v6 . |
$enable-important-utilities |
true (default) los yogfalse |
Enables lub !important ntsiab lus hauv cov chav kawm siv hluav taws xob. |
$enable-smooth-scroll |
true (default) los yogfalse |
Siv scroll-behavior: smooth thoob ntiaj teb, tshwj tsis yog rau cov neeg siv thov kom txo cov lus tsa suab los ntawm prefers-reduced-motion kev nug xov xwm |