Yeqela kokuqukethwe okuyinhloko Yeqela ku-docs navigation
Check
in English

Izinketho

Yenza ngokwezifiso i-Bootstrap ngokushesha ngeziguquko ezakhelwe ngaphakathi ukuze uguqule kalula izintandokazi ze-CSS zomhlaba jikelele zokulawula isitayela nokuziphatha.

Enza ngendlela oyifisayo i-Bootstrap ngefayela lethu eliguquguqukayo elakhelwe ngaphakathi futhi uguqule kalula izintandokazi ze-CSS zomhlaba jikelele ngezinto ezintsha ze- $enable-*Sass. Khipha inani lokuguquguquka bese uhlanganisa futhi npm run testnjengoba kudingeka.

Ungathola futhi wenze ngendlela oyifisayo lokhu okuguquguqukayo ukuze uthole izinketho ezibalulekile zomhlaba wonke scss/_variables.scsskufayela le-Bootstrap.

Iyaguquguquka Amanani Incazelo
$spacer 1rem(okuzenzakalelayo), nanoma yiliphi inani > 0 Icacisa inani elizenzakalelayo le-spacer ukukhiqiza ngokuhlelekile izinsiza zethu ze-spacer .
$enable-rounded true(okuzenzakalelayo) nomafalse Inika amandla border-radiusizitayela ezichazwe ngaphambilini ezingxenyeni ezihlukahlukene.
$enable-shadows truenoma false(okuzenzakalelayo) Inika amandla box-shadowizitayela zokuhlobisa ezichazwe ngaphambilini ezingxenyeni ezihlukahlukene. Akuthinti box-shadowokusetshenziselwa izimo zokugxila.
$enable-gradients truenoma false(okuzenzakalelayo) Inika amandla ama-gradient achazwe ngaphambilini background-imagengezitayela ezingxenyeni ezihlukahlukene.
$enable-transitions true(okuzenzakalelayo) nomafalse Inika amandla transitionama-s achazwe ngaphambilini ezingxenyeni ezihlukahlukene.
$enable-reduced-motion true(okuzenzakalelayo) nomafalse Inika amandla prefers-reduced-motionumbuzo wemidiya , ocindezela ukugqwayiza/ushintsho oluthile olususelwe kuzintandokazi zesiphequluli/isistimu yokusebenza yabasebenzisi.
$enable-grid-classes true(okuzenzakalelayo) nomafalse Inika amandla ukukhiqizwa kwamakilasi e-CSS kusistimu yegridi (isb .row, .col-md-1, njll.).
$enable-container-classes true(okuzenzakalelayo) nomafalse Inika amandla ukukhiqizwa kwamakilasi e-CSS eziqukathi zesakhiwo. (Okusha ku-v5.2.0)
$enable-caret true(okuzenzakalelayo) nomafalse Inika amandla i-pseudo element caret ku- .dropdown-toggle.
$enable-button-pointers true(okuzenzakalelayo) nomafalse Engeza ikhesa “yesandla” kuma-elementi enkinobho engacishiwe.
$enable-rfs true(okuzenzakalelayo) nomafalse Emhlabeni jikelele yenza i- RFS .
$enable-validation-icons true(okuzenzakalelayo) nomafalse Inika amandla background-imageizithonjana ngaphakathi kokufakwayo kombhalo kanye namafomu athile angokwezifiso ezimo zokuqinisekisa.
$enable-negative-margins truenoma false(okuzenzakalelayo) Inika amandla ukukhiqizwa kwezinsiza zemajini ezingezinhle .
$enable-deprecation-messages true(okuzenzakalelayo) nomafalse Misa ukuze falseufihle izexwayiso uma usebenzisa noma yimiphi imiksi ehoxisiwe nemisebenzi ehlelelwe ukususwa ku- v6.
$enable-important-utilities true(okuzenzakalelayo) nomafalse Inika amandla !importantisijobelelo kumakilasi okusetshenziswayo.
$enable-smooth-scroll true(okuzenzakalelayo) nomafalse Isebenza scroll-behavior: smoothemhlabeni jikelele, ngaphandle kwabasebenzisi abacela ukunyakaza okuncishisiwe prefers-reduced-motionngombuzo wemidiya