Jya ku bintu nyamukuru Jya kuri docs
Check
in English

Mucukumbuzi n'ibikoresho

Wige ibijyanye na mushakisha n'ibikoresho, kuva kijyambere kugeza kera, bishyigikiwe na Bootstrap, harimo ibisobanuro bizwi na bugi kuri buri.

Mucukumbuzi

Bootstrap ishyigikira ibyasohotse vuba, bihamye bya mushakisha nini zose.

Ubundi mushakisha ukoresha verisiyo yanyuma ya WebKit, Blink, cyangwa Gecko, haba muburyo butaziguye cyangwa binyuze kumurongo wurubuga rwa API, ntabwo bashyigikiwe neza. Ariko, Bootstrap igomba (mubihe byinshi) kwerekana no gukora neza muriyi mushakisha. Ibisobanuro birambuye byingirakamaro byatanzwe hano hepfo.

Urashobora kubona urwego rushyigikiwe rwa mushakisha hamwe na verisiyo zabo muri.browserslistrc file :

# https://github.com/browserslist/browserslist#readme

>= 0.5%
last 2 major versions
not dead
Chrome >= 60
Firefox >= 60
Firefox ESR
iOS >= 12
Safari >= 12
not Explorer <= 11

Dukoresha Autoprefixer kugirango dukemure inkunga igenewe mushakisha dukoresheje imbanzirizamushinga ya CSS, ikoresha Browserslist mu gucunga izo verisiyo za mushakisha. Reba inyandiko zabo zuburyo bwo kwinjiza ibyo bikoresho mumishinga yawe.

Ibikoresho bigendanwa

Muri rusange, Bootstrap ishyigikira verisiyo zigezweho za buri cyiciro kinini cya mushakisha zidasanzwe. Menya ko mushakisha ya porokisi (nka Opera Mini, uburyo bwa Turbo bwa Opera Mobile, UC Browser Mini, Amazone Silk) idashyigikiwe.

Chrome Firefox Safari Mucukumbuzi ya Android & Urubuga
Android Gushyigikirwa Gushyigikirwa - v6.0 +
iOS Gushyigikirwa Gushyigikirwa Gushyigikirwa -

Mucukumbuzi ya desktop

Nubundi, verisiyo yanyuma ya mushakisha ya desktop hafi ya yose irashyigikiwe.

Chrome Firefox Microsoft Edge Opera Safari
Mac Gushyigikirwa Gushyigikirwa Gushyigikirwa Gushyigikirwa Gushyigikirwa
Windows Gushyigikirwa Gushyigikirwa Gushyigikirwa Gushyigikirwa -

Kuri Firefox, hiyongereyeho gusohora bisanzwe bisanzwe bihamye, dushyigikire kandi verisiyo yanyuma yagutse (ESR) verisiyo ya Firefox.

Mu buryo butemewe, Bootstrap igomba kureba no kwitwara neza bihagije muri Chromium na Chrome kuri Linux, na Firefox kuri Linux, nubwo bidashyigikiwe kumugaragaro.

Internet Explorer

Internet Explorer ntabwo ishyigikiwe. Niba ukeneye inkunga ya Internet Explorer, nyamuneka koresha Bootstrap v4.

Uburyo no kumanuka kuri mobile

Kurengerwa no kuzunguruka

Inkunga overflow: hidden;kuri <body>element ni ntarengwa muri iOS na Android. Kugirango bigerweho, mugihe uzengurutse hejuru cyangwa hepfo ya modal muri kimwe muri ibyo bikoresho bya mushakisha, <body>ibirimo bizatangira kuzunguruka. Reba amakosa ya Chrome # 175502 (yakosowe muri Chrome v40) na WebKit bug # 153852 .

Ibice byanditse bya iOS hamwe no kuzunguruka

Nko kuri iOS 9.2, mugihe modal ifunguye, niba gukoraho kwambere ibimenyetso byerekana umuzingo biri mumupaka winyandiko <input>cyangwa a <textarea>, <body>ibirimo munsi yuburyo bizunguruka aho kuba modal ubwayo. Reba WebKit bug # 153856 .

Ikintu .dropdown-backdropntabwo gikoreshwa kuri iOS muri nav kubera ubunini bwa z-indangagaciro. Rero, kugirango ufunge ibitonyanga muri navbars, ugomba guhita ukanda ibintu byamanutse (cyangwa ikindi kintu icyo aricyo cyose kizarasa ibyabaye muri iOS ).

Mucukumbuzi

Page zooming byanze bikunze yerekana ibihangano mubice bimwe, haba muri Bootstrap hamwe nizindi mbuga. Ukurikije ikibazo, dushobora gushobora kugikemura (shakisha mbere hanyuma ufungure ikibazo nibiba ngombwa). Ariko, dukunze kwirengagiza ibyo kuko akenshi nta gisubizo kiboneye usibye akazi keza.

Abemeza

Kugirango utange uburambe bwiza bushoboka kuri mushakisha zishaje na buggy, Bootstrap ikoresha amashanyarazi ya CSS ahantu henshi kugirango yereke CSS idasanzwe kuri verisiyo zimwe na zimwe za mushakisha kugirango ikore hafi yamakosa muri mushakisha ubwabo. Izi hack birumvikana ko abemeza CSS binubira ko bitemewe. Ahantu habiri, dukoresha kandi kuva amaraso-CSS ibiranga bitaruzuzwa neza, ariko bikoreshwa gusa mukuzamura iterambere.

Iyi miburo yo kwemeza ntacyo itwaye mubikorwa kuva igice kitari hacki cya CSS yacu cyemeza neza kandi ibice bya hacky ntibibangamira imikorere myiza yigice kitari hacky, niyo mpamvu twirengagiza nkana iyi miburo yihariye.

Inyandiko zacu za HTML nazo zifite imburi zidafite akamaro kandi zidafite ishingiro zo kwemeza HTML kubera ko dushyiramo akazi kubikorwa bya Firefox runaka .