Tsibela kumxholo ophambili Tsiba uye kukhangelo lwamaxwebhu
Check
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 testnjengoko kufuneka.

Ungafumana kwaye wenze ezi ziguquguqukayo kwiinketho eziphambili zehlabathi scss/_variables.scsskwifayile 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-radiusizimbo ezichazwe kwangaphambili kumacandelo awohlukeneyo.
$enable-shadows trueokanye false(okuhlala kukho) Yenza box-shadowizimbo zokuhombisa ezichazwe kwangaphambili kumacandelo awohlukeneyo. Ayichaphazeli box-shadows esetyenziselwa iimeko zokugxila.
$enable-gradients trueokanye false(okuhlala kukho) Yenza iigradient ezichazwe kwangaphambili kusetyenziswa background-imageizimbo kwizinto ezahlukeneyo.
$enable-transitions true(ehlala ikho) okanyefalse Yenza okuchazwe transitionkwangaphambili kumacandelo awohlukeneyo.
$enable-reduced-motion true(ehlala ikho) okanyefalse Yenza prefers-reduced-motionumbuzo 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-imageicon kwizimvo ezibhaliweyo kunye nezinye iifomu zesiko ukulungiselela iimeko zokuqinisekisa.
$enable-negative-margins trueokanye false(okuhlala kukho) Yenza ukuveliswa kwezixhobo ezingalunganga zomda .
$enable-deprecation-messages true(ehlala ikho) okanyefalse Misela falseukufihla izilumkiso xa usebenzisa nayiphi na imixube eyehliweyo kunye nemisebenzi ecetywayo ukuba isuswe kwi v6.
$enable-important-utilities true(ehlala ikho) okanyefalse Yenza !importantisimamva kwiiklasi eziluncedo.
$enable-smooth-scroll true(ehlala ikho) okanyefalse Isebenza scroll-behavior: smoothkwihlabathi jikelele, ngaphandle kwabasebenzisi abacela intshukumo encitshisiweyo ngombuzo prefers-reduced-motionwemidiya