in English
Swihlawulekisi
Hi ku hatlisa cinca Bootstrap hi swilo leswi cinca-cincaka leswi akiweke endzeni ku cinca-cinca hi ku olova swihlawulekisi swa CSS swa misava hinkwayo swo lawula xitayili na mahanyelo.
Endla Bootstrap hi ku landza swilaveko hi fayili ya hina ya swilo leswi cinca-cincaka swa ntolovelo leyi akiweke endzeni naswona u cinca-cinca hi ku olova swihlawulekisi swa CSS swa misava hinkwayo hi swilo leswintshwa $enable-*
swa swilo leswi cinca-cincaka swa Sass. Tlula nkoka wa xihlawulekisi ivi u tlhela u hlengeleta hi npm run test
tanihilaha swi lavekaka hakona.
U nga kuma no lulamisa swilo leswi swi cinca-cincaka eka swihlawulekisi swa nkoka swa misava hinkwayo eka scss/_variables.scss
fayili ya Bootstrap.
Swilo leswi cinca-cincaka | Mimpimanyeto | Nhlamuselo |
---|---|---|
$spacer |
1rem (default), kumbe ntikelo wihi na wihi > 0 |
Ku hlamusela ntikelo wa spacer wa xiviri ku tumbuluxa hi phurogireme switirhisiwa swa hina swa spacer . |
$enable-rounded |
true (xihlawulekisi) kumbefalse |
Swi endla leswaku ku va ni switayele leswi hlamuseriweke ka ha ri emahlweni border-radius eka swiphemu swo hambana-hambana. |
$enable-shadows |
true kumbe false (xihlawulekisi) . |
Swi endla leswaku ku va ni switayele swo khavisa leswi hlamuseriweke ka ha ri emahlweni box-shadow eka swiphemu swo hambana-hambana. A swi khumbi box-shadow s leyi tirhisiwaka eka swiyimo leswi kongomisiweke. |
$enable-gradients |
true kumbe false (xihlawulekisi) . |
Swi endla leswaku ku va na tigradient leti hlamuseriweke ka ha ri emahlweni hi ku tirhisa background-image switayele eka swiphemu swo hambana. |
$enable-transitions |
true (xihlawulekisi) kumbefalse |
Swi endla leswaku ku va na s leyi hlamuseriweke ka ha ri emahlweni transition eka swiphemu swo hambana. |
$enable-reduced-motion |
true (xihlawulekisi) kumbefalse |
Enables the prefers-reduced-motion media query , leyi tshikelelaka swifaniso swo karhi leswi hanyaka/ku cinca loku sekeriweke eka swihlawulekisi swa vatirhisi swa browser/operating system. |
$enable-grid-classes |
true (xihlawulekisi) kumbefalse |
Swi endla leswaku ku va na ku tumbuluxiwa ka titlilasi ta CSS ta sisiteme ya giridi (xikombiso .row , .col-md-1 , na swin’wana). |
$enable-container-classes |
true (xihlawulekisi) kumbefalse |
Swi endla leswaku ku va na ku tumbuluxiwa ka titlilasi ta CSS ta swikhomela-ndhawu swa layout. (Leswintshwa eka v5.2.0) |
$enable-caret |
true (xihlawulekisi) kumbefalse |
Swi endla leswaku ku va na caret ya xiaki xa vuxisi eka .dropdown-toggle . |
$enable-button-pointers |
true (xihlawulekisi) kumbefalse |
Engetela xikombiso xa “voko” eka swiaki swa buti leswi nga tirhiki. |
$enable-rfs |
true (xihlawulekisi) kumbefalse |
Emisaveni hinkwayo swi endla leswaku RFS yi tirha . |
$enable-validation-icons |
true (xihlawulekisi) kumbefalse |
Swi endla leswaku background-image swifaniso endzeni ka swingheniso swa matsalwa na tifomo tin’wana ta ntolovelo ta swiyimo swa ku tiyisisa. |
$enable-negative-margins |
true kumbe false (xihlawulekisi) . |
Swi endla leswaku ku va na ku tumbuluxiwa ka switirhisiwa swa margin yo biha . |
$enable-deprecation-messages |
true (xihlawulekisi) kumbefalse |
Seta eka false ku fihla switsundzuxo loko u tirhisa yin'wana na yin'wana ya mixins leyi nga ha tirhisiwiki na mintirho leyi kunguhatiweke ku susiwa eka v6 . |
$enable-important-utilities |
true (xihlawulekisi) kumbefalse |
Swi endla leswaku !important xilandzi xi tirha eka titlilasi ta vukorhokeri. |
$enable-smooth-scroll |
true (xihlawulekisi) kumbefalse |
Swi tirha scroll-behavior: smooth emisaveni hinkwayo, handle ka vatirhisi lava kombelaka ku hungutiwa ka ku famba hi ku tirhisa prefers-reduced-motion xivutiso xa vuhangalasi bya mahungu |