Brawza ɛn divays dɛn
Lan bɔt di brawza ɛn divays dɛn, frɔm di mɔdan to di ol wan dɛn, we Bootstrap de sɔpɔt, inklud di quirks ɛn bɔg dɛn we dɛn sabi fɔ ɛni wan pan dɛn.
Brawza dɛn we dɛn de sɔpɔt
Bootstrap de sɔpɔt di laytst, stebul rilis dɛn fɔ ɔl di men brawza ɛn pletfɔm dɛn.
Ɔda brawza dɛn we de yuz di layt vɛshɔn fɔ WɛbKit, Blink, ɔ Gecko, ilɛksɛf na dairekt ɔ tru di pletfɔm in wɛb viu API, dɛn nɔ de sɔpɔt klia wan. Bɔt, Bootstrap fɔ (bɔku tɛm) sho ɛn wok kɔrɛkt wan na dɛn brawza dɛn ya bak. Dɛn dɔn gi mɔ patikyula sɔpɔt infɔmeshɔn dɔŋ ya.
Yu kin fɛn wi sɔpɔt rɛnj fɔ brawza dɛn ɛn dɛn vɛshɔn dɛn na wi.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
Wi de yuz Autoprefixer fɔ handle di sɔpɔt we wi want fɔ sɔpɔt di brawza bay CSS prɛfiks dɛn, we de yuz Browserslist fɔ manej dɛn brawza vɛshɔn dɛn ya. Kɔnsul dɛn dɔkyumentri fɔ aw fɔ intagret dɛn tul ya insay yu prɔjek dɛm.
Mobayl divays dɛn
Jɛnɛral wan, Bootstrap de sɔpɔt di laytst vɛshɔn dɛn fɔ ɛni men pletfɔm in difɔlt brawza dɛn. Notis se dɛn nɔ de sɔpɔt prɔksi brawza dɛn (lɛk Opera Mini, Opera Mobile in Turbo mod, UC Browser Mini, Amazon Silk).
Krɔm we dɛn kɔl Chrome | Fayafaks | Safari we dɛn kin yuz | Andrɔyd Brawza & WɛbView | |
---|---|---|---|---|
Andrɔyd | Dɛn sɔpɔt am | Dɛn sɔpɔt am | — | v6.0+ fɔ di wan dɛn we de |
iOS we de na di wɔl | Dɛn sɔpɔt am | Dɛn sɔpɔt am | Dɛn sɔpɔt am | — |
Dɛsktɔp brawza dɛn
Semweso, dɛn kin sɔpɔt di laytst vɛshɔn dɛn fɔ bɔku pan di dɛsktɔp brawza dɛn.
Krɔm we dɛn kɔl Chrome | Fayafaks | Maykrosoft Ɛj | Ɔpa we dɛn kɔl Opera | Safari we dɛn kin yuz | |
---|---|---|---|---|---|
Mac we dɛn kɔl Mac | Dɛn sɔpɔt am | Dɛn sɔpɔt am | Dɛn sɔpɔt am | Dɛn sɔpɔt am | Dɛn sɔpɔt am |
Window dɛn | Dɛn sɔpɔt am | Dɛn sɔpɔt am | Dɛn sɔpɔt am | Dɛn sɔpɔt am | — |
Fɔ Fayafaks, apat frɔm di laytst nɔmal stebul rilis, wi de sɔpɔt bak di laytst Ɛkstend Sɔpɔt Rilis (ESR) vɛshɔn fɔ Fayafaks.
Nɔ ɔfishal wan, Bootstrap fɔ luk ɛn biev fayn fayn wan na Chromium ɛn Chrome fɔ Linux, ɛn Firefox fɔ Linux, pan ɔl we dɛn nɔ ɔfishal sɔpɔt dɛn.
Intanɛt Ɛksplɔrɔ
Intanɛt Ɛksplɔrɔ nɔ de sɔpɔt. If yu nid Intanɛt Ɛksplɔrɔ sɔpɔt, duya yuz Bootstrap v4.
Modal ɛn drɔpdɔwn dɛn na mobayl
Ovaflɔ ɛn skrol
Sɔpɔt fɔ overflow: hidden;
pan di <body>
ɛlimɛnt na kwik limited in iOS ɛn Andrɔyd. Fɔ du dat, we yu skrol pas di ɔp ɔ dɔŋ pan wan modal na ɛni wan pan dɛn divays dɛn brɔuza dɛn, di <body>
tin dɛn we de insay go bigin fɔ skrol. Si Chrome bɔg #175502 (dɛn dɔn fiks am na Chrome v40) ɛn WɛbKit bɔg #153852 .
iOS tɛks fil dɛn ɛn skrol
As of iOS 9.2, we wan modal opin, if di fɔs tɔch fɔ wan skrol jes de insay di bɔda fɔ wan tɛkstual <input>
ɔ wan <textarea>
, di <body>
kɔntinyu we de ɔnda di modal go skrol instead ɔf di modal sɛf. Si WɛbKit bɔg #153856 .
Navbar Drɔpdɔwn dɛn
Di .dropdown-backdrop
elemɛnt nɔ de yuz pan iOS na di nav bikɔs ɔf di kɔmplisiti fɔ z-indeks. So, fɔ lɔk drɔpdɔwn dɛn na navbar dɛn, yu fɔ klik di drɔpdɔwn ɛlimɛnt dairekt wan (ɔ ɛni ɔda ɛlimɛnt we go faya klik ivin na iOS ).
Di brawza de zoom
Pej zum in nɔ go ebul fɔ avɔyd fɔ prɛzɛnt rɛnda artifakt dɛn na sɔm kɔmpɔnɛnt dɛn, ɔl tu na Bootstrap ɛn di ɔda pat na di wɛb. Dipen pan di prɔblɛm, wi kin ebul fɔ fiks am (luk fɔs ɛn opin wan prɔblɛm if nid de). Bɔt wi kin ignore dɛn wan ya as bɔku tɛm dɛn nɔ kin gɛt dairekt sɔlvishɔn ɔda pas hacky wokarawnd.
Di wan dɛn we de validet
Fɔ mek dɛn ebul fɔ gi di bɛst ɛkspiriɛns to ol ɛn bɔg brawza dɛn, Bootstrap de yuz CSS brawza hack dɛn na sɔm ples dɛn fɔ tɔch spɛshal CSS to sɔm brawza vɛshɔn dɛn fɔ mek dɛn ebul fɔ wok arawnd bɔg dɛn na di brawza dɛnsɛf. Wi ɔndastandin se dɛn hack ya kin mek CSS validators kɔmplen se dɛn nɔ valid. Insay wan tu ples, wi de yuz bak blɔd-ɛj CSS ficha dɛn we nɔ ful-ɔp yet fɔ standad, bɔt dɛn de yuz dɛn wan ya jɔs fɔ mek dɛn go bifo mɔ ɛn mɔ.
Dɛn validɛshɔn wɔnin ya nɔ impɔtant na prɔsis bikɔs di pat we nɔ gɛt haki na wi CSS de fulɔp fɔ validet ɛn di haki pat dɛn nɔ de ambɔg di rayt we fɔ wok we di pat we nɔ haki de du, na dat mek wi nɔ de tek tɛm du dɛn patikyula wɔnin ya.
Wi HTML dɔk dɛn sɛf gɛt sɔm tin dɛn we nɔ impɔtant ɛn we nɔ impɔtant HTML validɛshɔn wɔnin dɛn bikɔs wi put wan wok-arawnd fɔ wan patikyula Fayafaks bɔg .