Tlula eka nhlokomhaka-nkulu Tlula eka docs navigation
Check
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 testtanihilaha swi lavekaka hakona.

U nga kuma no lulamisa swilo leswi swi cinca-cincaka eka swihlawulekisi swa nkoka swa misava hinkwayo eka scss/_variables.scssfayili 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-radiuseka swiphemu swo hambana-hambana.
$enable-shadows truekumbe false(xihlawulekisi) . Swi endla leswaku ku va ni switayele swo khavisa leswi hlamuseriweke ka ha ri emahlweni box-shadoweka swiphemu swo hambana-hambana. A swi khumbi box-shadows leyi tirhisiwaka eka swiyimo leswi kongomisiweke.
$enable-gradients truekumbe false(xihlawulekisi) . Swi endla leswaku ku va na tigradient leti hlamuseriweke ka ha ri emahlweni hi ku tirhisa background-imageswitayele eka swiphemu swo hambana.
$enable-transitions true(xihlawulekisi) kumbefalse Swi endla leswaku ku va na s leyi hlamuseriweke ka ha ri emahlweni transitioneka swiphemu swo hambana.
$enable-reduced-motion true(xihlawulekisi) kumbefalse Enables the prefers-reduced-motionmedia 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-imageswifaniso endzeni ka swingheniso swa matsalwa na tifomo tin’wana ta ntolovelo ta swiyimo swa ku tiyisisa.
$enable-negative-margins truekumbe false(xihlawulekisi) . Swi endla leswaku ku va na ku tumbuluxiwa ka switirhisiwa swa margin yo biha .
$enable-deprecation-messages true(xihlawulekisi) kumbefalse Seta eka falseku 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 !importantxilandzi xi tirha eka titlilasi ta vukorhokeri.
$enable-smooth-scroll true(xihlawulekisi) kumbefalse Swi tirha scroll-behavior: smoothemisaveni hinkwayo, handle ka vatirhisi lava kombelaka ku hungutiwa ka ku famba hi ku tirhisa prefers-reduced-motionxivutiso xa vuhangalasi bya mahungu