Navigatɛriw ni minɛnw
Aw ye kunnafoni sɔrɔ navigatɔrɔw ni minɛnw kan, k’a ta bi ta la ka se kɔrɔlenw ma, minnu bɛ dɛmɛ sɔrɔ Bootstrap fɛ, ka fara fɛn dɔntaw ni buguw kan u kelen-kelen bɛɛ kama.
Navigatɛri minnu bɛ dɛmɛ
Bootstrap bɛ dɛmɛ don bɔko labanw na, minnu bɛ sabati, minnu bɛ bɔ navigatɔrɔw ni plateformes belebelew bɛɛ la.
Navigatɛri wɛrɛ minnu bɛ baara kɛ ni WebKit, Blink, walima Gecko kura ye, a kɛra k’a ɲɛsin u yɛrɛ ma walima a kɛra plateforme ka web view API fɛ, olu tɛ dɛmɛ k’a jɛya. Nka, Bootstrap ka kan (a ka c’a la) ka jira ani ka baara kɛ ka ɲɛ o navigatɛriw fana na. Dɛmɛ kunnafoni kɛrɛnkɛrɛnnen wɛrɛw bɛ sɔrɔ jukɔrɔ.
Aw bɛ se ka an ka navigatɛriw ni u bɔcogo sɔrɔ an ka.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
An bɛ baara kɛ ni Autoprefixer ye walasa ka navigatɔrɔn dɛmɛni laɲinitaw ɲɛnabɔ CSS prefixes fɛ, o min bɛ baara kɛ ni Browserslist ye walasa ka o navigatɔrɔw bɔcogo ɲɛnabɔ. Aw ye u ka sɛbɛnw lajɛ walasa ka o baarakɛminɛnw don aw ka porozɛw kɔnɔ cogo min na.
Telefɔni selilɛriw
A ka c’a la, Bootstrap bɛ dɛmɛ don plateforme belebele kelen-kelen bɛɛ ka navigatɔrɔ defaults (navigatɛriw) labanw na. A kɔlɔsi ko proxy navigatɔrɔw (i n’a fɔ Opera Mini, Opera Mobile ka Turbo mode, UC Browser Mini, Amazon Silk) tɛ se ka baara kɛ.
Chrome ye | Firefox ye | Safari ye | Android Navigateur & WebView ye | |
---|---|---|---|---|
Android kan | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ | — . | v6.0+ ye |
iOS ye | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ | — . |
Tabali kan navigatɛriw
O cogo kelen na, tabali-navigatɛri fanba ka bɔko labanw bɛ dɛmɛ.
Chrome ye | Firefox ye | Microsoft Edge ye baarakɛminɛn ye | Opera ye | Safari ye | |
---|---|---|---|---|---|
Mac ye | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ |
Fenɛtiriw | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ | A bɛ dɛmɛ sɔrɔ | — . |
Firefox ta fan fɛ, ka fara normal stable bɔko laban kan, an bɛ Firefox ka Extended Support Release (ESR) bɔko laban fana dɛmɛ.
O cogo la, Bootstrap ka kan ka ɲɛ ani k’a yɛrɛ Kɛ koɲuman Chromium ni Chrome la Linux kama, ani Firefox la Linux kama, hali n’u ma Dɛmɛ foroba la.
Ɛntɛrinɛti Explorer
Internet Explorer tɛ se ka baara kɛ. Ni aw mago bɛ Internet Explorer dɛmɛ na, aw bɛ baara kɛ ni Bootstrap v4 ye.
Modaliw ni fɛnw jigincogo mobili kan
Overflow ani scrolling (Sɛbɛnni).
Dɛmɛn min bɛ Kɛ overflow: hidden;
on the <body>
element ye o dan ye kosɛbɛ iOS ani Android la. Walasa k’o kɛ, n’i ye modal dɔ sanfɛla walima duguma tɛmɛ o minɛnw ka navigatɛriw dɔ la kelen na, a <body>
kɔnɔkow bɛna daminɛ ka wuli. Aw ye Chrome bug #175502 ( a labɛnna Chrome v40 kɔnɔ ) ani WebKit bug #153852 lajɛ .
iOS sɛbɛnnibolow ani sɛgɛsɛgɛli
Kabini iOS 9.2 la, k’a sɔrɔ modɛli dɔ dabɔlen don, ni sɛrɛkili taamasiyɛn dɔ magali fɔlɔ bɛ sɛbɛnni <input>
walima a dancɛ kɔnɔ <textarea>
, <body>
modali jukɔrɔ kɔnɔkow bɛna sɛrɛkili modali yɛrɛ nɔ na. Aw ye WebKit buguri #153856 lajɛ .
Navbar ka fɛnw jira
Eleman .dropdown-backdrop
in tɛ baara kɛ iOS kan nav kɔnɔ k’a sababu kɛ z-indexing ka gɛlɛya ye. O cogo la, walasa ka 'dakunw Dabɔ navbarw kɔnɔ, i ka kan ka 'yɔrɔ digi k'a ɲɛsin 'yɔrɔ ma (walima fɛn wɛrɛ min bɛna 'kɔnɔnafiliko Kɛ iOS kɔnɔ ).
Navigatɛri ka zoom
Page zooming bɛ rendering artifacts jira cogo la min tɛ Se ka Lajɔ yɔrɔ dɔw la, Bootstrap ni web tɔ bɛɛ la. Ka kɛɲɛ ni ko ye, an bɛ se k’a labɛn (a ɲini fɔlɔ ka sɔrɔ ka ko dɔ da wuli ni mago bɛ o la). Nka, an ka teli ka ninnu ɲɛmajɔ bawo a ka c’a la, u tɛ ni furakɛli tilennen ye ni hacky workarounds tɛ.
Validateurs (Sɛgɛsɛgɛlikɛlaw).
Walasa ka dɔnniya ɲuman di navigatɔrɔ kɔrɔw ni buggy (navigatɛriw) ma, Bootstrap bɛ baara Kɛ ni CSS navigatɔrɔw hakɛw ye yɔrɔ caman na walasa ka CSS kɛrɛnkɛrɛnnenw Laɲini navigatɔrɔ dɔw la walasa ka baara Kɛ ni bugw ye navigatɔrɔw yɛrɛ kɔnɔ. O hakɛw bɛ faamuya cogo min na, o bɛ kɛ sababu ye ka CSS sɛgɛsɛgɛlikɛlaw ka ŋunankan fɔ k’u tɛ tiɲɛ ye. Yɔrɔ fila-fila la, an bɛ baara Kɛ fana ni Bleeding-edge CSS fɛɛrɛw ye minnu ma Kɛ fɔlɔ ka dafa, nka ninnu bɛ Kɛ dɔrɔn ka ɲɛtaa Kɛ ɲɛtaa kama.
O dantigɛli lasɔminiw tɛ fosi ye waleyali la bawo an ka CSS yɔrɔ min tɛ haki ye, o bɛ tiɲɛni dafalen Kɛ wa haki yɔrɔ minnu tɛ haki ye, o tɛ haki yɔrɔ in baarakɛcogo ɲuman bali, o de y’a To an bɛ nin lasɔmini kɛrɛnkɛrɛnnen ninnu jatebla Kɛ k’a da Minɛ.
an ka HTML sɛbɛnw fana bɛ ni HTML tiɲɛni lasɔmini dɔw ye minnu tɛ fosi ye ani minnu tɛ foyi ɲɛ k' a sababu kɛ an ye Firefox bugu dɔ ɲɛnabɔcogo dɔ don a kɔnɔ .