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 test
njengoba kudingeka.
Ungathola futhi wenze ngendlela oyifisayo lokhu okuguquguqukayo ukuze uthole izinketho ezibalulekile zomhlaba wonke scss/_variables.scss
kufayela 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-radius izitayela ezichazwe ngaphambilini ezingxenyeni ezihlukahlukene. |
$enable-shadows |
true noma false (okuzenzakalelayo) |
Inika amandla box-shadow izitayela zokuhlobisa ezichazwe ngaphambilini ezingxenyeni ezihlukahlukene. Akuthinti box-shadow okusetshenziselwa izimo zokugxila. |
$enable-gradients |
true noma false (okuzenzakalelayo) |
Inika amandla ama-gradient achazwe ngaphambilini background-image ngezitayela ezingxenyeni ezihlukahlukene. |
$enable-transitions |
true (okuzenzakalelayo) nomafalse |
Inika amandla transition ama-s achazwe ngaphambilini ezingxenyeni ezihlukahlukene. |
$enable-reduced-motion |
true (okuzenzakalelayo) nomafalse |
Inika amandla prefers-reduced-motion umbuzo 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-image izithonjana ngaphakathi kokufakwayo kombhalo kanye namafomu athile angokwezifiso ezimo zokuqinisekisa. |
$enable-negative-margins |
true noma false (okuzenzakalelayo) |
Inika amandla ukukhiqizwa kwezinsiza zemajini ezingezinhle . |
$enable-deprecation-messages |
true (okuzenzakalelayo) nomafalse |
Misa ukuze false ufihle izexwayiso uma usebenzisa noma yimiphi imiksi ehoxisiwe nemisebenzi ehlelelwe ukususwa ku- v6 . |
$enable-important-utilities |
true (okuzenzakalelayo) nomafalse |
Inika amandla !important isijobelelo kumakilasi okusetshenziswayo. |
$enable-smooth-scroll |
true (okuzenzakalelayo) nomafalse |
Isebenza scroll-behavior: smooth emhlabeni jikelele, ngaphandle kwabasebenzisi abacela ukunyakaza okuncishisiwe prefers-reduced-motion ngombuzo wemidiya |