in English
Iinketho
Yenza ngokwezifiso i-Bootstrap enezinto ezakhelwe ngaphakathi ukuze uguqule ngokulula ukhetho lwehlabathi jikelele lwe-CSS lokulawula isimbo kunye nokuziphatha.
Yenza ngokwezifiso i-Bootstrap kunye nefayile yethu eyakhelwe-ngaphakathi eguquguqukayo kwaye uguqule ngokulula izinto ezikhethwa yiCSS yehlabathi ngezinto ezintsha $enable-*
zeSass. Bhala ngaphezulu ixabiso loguquko kwaye uphinde udibanise npm run test
njengoko kufuneka.
Ungafumana kwaye wenze ezi ziguquguqukayo kwiinketho eziphambili zehlabathi scss/_variables.scss
kwifayile yeBootstrap.
Iyaguquguquka | Imilinganiselo | Inkcazo |
---|---|---|
$spacer |
1rem (ehlala ikho), okanye naliphi na ixabiso > 0 |
Ixela ixabiso elihlala lihleli le spacer ukuvelisa ngokwenkqubo izixhobo zethu ze spacer . |
$enable-rounded |
true (ehlala ikho) okanyefalse |
Yenza border-radius izimbo ezichazwe kwangaphambili kumacandelo awohlukeneyo. |
$enable-shadows |
true okanye false (okuhlala kukho) |
Yenza box-shadow izimbo zokuhombisa ezichazwe kwangaphambili kumacandelo awohlukeneyo. Ayichaphazeli box-shadow s esetyenziselwa iimeko zokugxila. |
$enable-gradients |
true okanye false (okuhlala kukho) |
Yenza iigradient ezichazwe kwangaphambili kusetyenziswa background-image izimbo kwizinto ezahlukeneyo. |
$enable-transitions |
true (ehlala ikho) okanyefalse |
Yenza okuchazwe transition kwangaphambili kumacandelo awohlukeneyo. |
$enable-reduced-motion |
true (ehlala ikho) okanyefalse |
Yenza prefers-reduced-motion umbuzo wemidiya , ocinezela oopopayi abathile/utshintsho olusekwe kwisikhangeli sabasebenzisi/ukhetho lwesixokelelwano esisebenzayo. |
$enable-grid-classes |
true (ehlala ikho) okanyefalse |
Yenza ukuveliswa kweeklasi zeCSS zesixokelelwano sothungelwano (umzekelo .row , .col-md-1 , njl.). |
$enable-container-classes |
true (ehlala ikho) okanyefalse |
Yenza ukuveliswa kweeklasi ze-CSS kwizikhongozeli zoyilo. (Entsha kwi-v5.2.0) |
$enable-caret |
true (ehlala ikho) okanyefalse |
Yenza ipseudo element ikhathalelwe .dropdown-toggle . |
$enable-button-pointers |
true (ehlala ikho) okanyefalse |
Yongeza ikhesa "yesandla" kwizinto ezingacinywanga zeqhosha. |
$enable-rfs |
true (ehlala ikho) okanyefalse |
Ehlabathini lonke yenza i - RFS . |
$enable-validation-icons |
true (ehlala ikho) okanyefalse |
Yenza ii- background-image icon kwizimvo ezibhaliweyo kunye nezinye iifomu zesiko ukulungiselela iimeko zokuqinisekisa. |
$enable-negative-margins |
true okanye false (okuhlala kukho) |
Yenza ukuveliswa kwezixhobo ezingalunganga zomda . |
$enable-deprecation-messages |
true (ehlala ikho) okanyefalse |
Misela false ukufihla izilumkiso xa usebenzisa nayiphi na imixube eyehliweyo kunye nemisebenzi ecetywayo ukuba isuswe kwi v6 . |
$enable-important-utilities |
true (ehlala ikho) okanyefalse |
Yenza !important isimamva kwiiklasi eziluncedo. |
$enable-smooth-scroll |
true (ehlala ikho) okanyefalse |
Isebenza scroll-behavior: smooth kwihlabathi jikelele, ngaphandle kwabasebenzisi abacela intshukumo encitshisiweyo ngombuzo prefers-reduced-motion wemidiya |