Glyphicons ƒe nuŋɔŋlɔwo

Glyph siwo li

Glyph siwo wu 250 le nuŋɔŋlɔ ƒe nɔnɔme me tso Glyphicon Halflings ƒe ƒuƒoƒoa me le eme. Glyphicons Halflings menye femaxee zi geɖe o, gake wo wɔla na wo li na Bootstrap femaxee. Abe akpedada ene la, ɖeko míele biabiam be nàde kadodo aɖe si atrɔ ayi Glyphicons la eme ɣesiaɣi si wòanya wɔ.

  • glyphicon glyphicon-ɣletivi ƒe dzesi
  • glyphicon glyphicon-kpe ɖe eŋu
  • glyphicon ŋlɔɖi-euro
  • glyphicon ƒe nɔnɔmetatawo ƒe nɔnɔmetatawo
  • glyphicon glyphicon-ɖe ɖa le eŋu
  • glyphicon glyphicon-alilikpo
  • glyphicon glyphicon-gbalẽkotoku
  • glyphicon glyphicon-nuŋlɔtsi si wotsɔna ŋlɔa nu
  • glyphicon glyphicon-huhɔ̃e
  • glyphicon glyphicon-hadzidzi ƒe ƒuƒoƒo
  • glyphicon glyphicon-didi ƒe nɔnɔmetata
  • glyphicon glyphicon-dzi ƒe dzesi
  • glyphicon glyphicon-ɣletivi
  • glyphicon glyphicon-ɣletivi-ƒuƒlu
  • glyphicon glyphicon-zãla ƒe nɔnɔmetata
  • glyphicon glyphicon-film ƒe nɔnɔmetata
  • glyphicon glyphicon-to-lolo ƒe ƒuƒoƒo
  • glyphicon ŋlɔɖi-th
  • glyphicon glyphicon-lia ƒe xexlẽdzesiwo
  • glyphicon ŋlɔɖi-ok
  • glyphicon glyphicon-ɖe asi le eŋu
  • glyphicon glyphicon-dzidzedze ƒe nɔnɔmetata
  • glyphicon glyphicon-ɖe-ɖe-ɖe-ɖe-ɖe-ɖe-ɖe-ɖe-le-ɖe-dzi
  • glyphicon glyphicon-ʋuʋu ƒe dzesiwo
  • glyphicon glyphicon-dzesi ƒe dzesi
  • glyphicon ƒomevi aɖe si woyɔna be glyphicon-cog
  • glyphicon glyphicon-gbeɖuɖɔ
  • glyphicon glyphicon-aƒeme ƒe nɔnɔmetata
  • glyphicon glyphicon-faɛl ƒe nɔnɔmetata
  • glyphicon glyphicon-ɣeyiɣi
  • glyphicon glyphicon-mɔ dzi
  • glyphicon glyphicon-ɖe-ɖe-alt
  • glyphicon glyphicon-ɖoɖo ɖe agbalẽ me
  • glyphicon glyphicon-ɖoɖo ɖe amewo ŋu
  • glyphicon glyphicon-aɖaka si me woŋlɔa nyawo ɖo
  • glyphicon glyphicon-fefe-ƒomevi
  • glyphicon glyphicon-gbugbɔgagblɔ
  • glyphicon glyphicon-si nye nu yeye
  • glyphicon glyphicon-ŋlɔɖi-alt
  • glyphicon glyphicon-ʋuʋudedi ƒe ƒuƒoƒo
  • glyphicon glyphicon-aflaga ƒe dzesi
  • glyphicon glyphicon-toɖoɖomɔ̃wo
  • glyphicon glyphicon-ƒomevi ƒe tsɔtsɔme
  • glyphicon glyphicon-gbeɖiɖi-ɖiɖi
  • glyphicon glyphicon-agbɔsɔsɔme-dzi ɖe edzi
  • glyphicon ŋlɔɖi-qrcode
  • glyphicon glyphicon-dzesi ƒe dzesi
  • glyphicon glyphicon-dzesi ƒe dzesi
  • glyphicon glyphicon-dzesiwo ƒe dzesiwo
  • glyphicon glyphicon-gbalẽ si me woŋlɔa nu ɖo
  • glyphicon glyphicon-dzesi ƒe dzesi
  • glyphicon glyphicon-tata ƒe nɔnɔmetata
  • glyphicon glyphicon-fotoɖemɔ̃ ƒe nɔnɔmetata
  • glyphicon glyphicon-ŋɔŋlɔdzesiwo ƒe nuŋɔŋlɔ
  • glyphicon glyphicon-ŋlɔdzesiwo ƒe dzesiwo
  • glyphicon glyphicon-ŋɔŋlɔdzesiwo ƒe nuŋɔŋlɔ
  • glyphicon glyphicon-nuŋɔŋlɔ-kɔkɔme
  • glyphicon glyphicon-nuŋɔŋlɔ-kekeme
  • glyphicon glyphicon-ɖoɖo ɖe miame ŋu
  • glyphicon glyphicon-ɖoɖo-dzi-titina
  • glyphicon glyphicon-ɖoɖo-ɖusime
  • glyphicon glyphicon-ɖoɖo-wɔ nu ɖe ​​ɖoɖo nu
  • glyphicon glyphicon-ŋlɔdzesiwo ƒe xexlẽdzesiwo
  • glyphicon glyphicon-nɔnɔme-miame
  • glyphicon glyphicon-nuŋɔŋlɔ-ɖusime
  • glyphicon glyphicon-mo-ɣeyiɣi-video
  • glyphicon glyphicon-nɔnɔmetata
  • glyphicon glyphicon-anyigbatata-dzesi
  • glyphicon glyphicon-trɔ asi le eŋu
  • glyphicon glyphicon-ti ƒe amadede
  • glyphicon glyphicon-trɔ asi le eŋu
  • glyphicon glyphicon-mamã ƒe dzesiwo
  • glyphicon glyphicon-kpɔa nyawo ɖa
  • glyphicon glyphicon-ʋuʋu ƒe nɔnɔmetata
  • glyphicon glyphicon-afɔɖeɖe-gbugbɔgawɔ
  • glyphicon glyphicon-si nye megbedede kabakaba
  • glyphicon glyphicon-megbe
  • glyphicon glyphicon-fefe ƒe ƒuƒoƒo
  • glyphicon glyphicon-tɔ vie
  • glyphicon glyphicon-tɔtrɔ
  • glyphicon glyphicon-ŋgɔgbe
  • glyphicon glyphicon-yi ŋgɔ kabakaba
  • glyphicon glyphicon-afɔɖeɖe-yi ŋgɔ
  • glyphicon glyphicon-ɖea nu me
  • glyphicon glyphicon-chevron-miame ƒe nɔnɔmetata
  • glyphicon glyphicon-chevron-ɖusime
  • glyphicon glyphicon-kple-dzesi
  • glyphicon glyphicon-ɖe-dzesi-ɖe-dzesi
  • glyphicon glyphicon-ɖe-dzesi
  • glyphicon glyphicon-ok-dzesi ƒe dzesi
  • glyphicon glyphicon-biabia-dzesi
  • glyphicon glyphicon-nyatakaka-dzesi
  • glyphicon glyphicon-nukpɔkpɔ ƒe nɔnɔmetata
  • glyphicon glyphicon-ɖe-ƒomevi
  • glyphicon glyphicon-ok-ƒomevi ƒe ƒuƒoƒo
  • glyphicon glyphicon-ban-ƒomevi ƒe ƒuƒoƒo
  • glyphicon glyphicon-aŋutsrɔe-miame
  • glyphicon glyphicon-aŋutsrɔe-ɖusime
  • glyphicon glyphicon-aŋutsrɔe-yi dzi
  • glyphicon glyphicon-aŋutsrɔe-aŋutrɔ
  • glyphicon glyphicon-mamã-alt
  • glyphicon glyphicon-trɔ asi le eƒe lolome ŋu bliboe
  • glyphicon glyphicon-trɔ asi le eƒe lolome ŋu-sue
  • glyphicon glyphicon-ɣlidodo-dzesi
  • glyphicon glyphicon-nunana ƒe nɔnɔmetata
  • glyphicon glyphicon-aŋgba ƒe aŋgba
  • glyphicon glyphicon-dzo ƒe dzesiwo
  • glyphicon glyphicon-ŋkuʋuʋu
  • glyphicon glyphicon-ŋku si wotsɔna ƒoa nu
  • glyphicon glyphicon-nuxlɔ̃ame-dzesi
  • glyphicon glyphicon-yameʋu ƒe ƒuƒoƒo
  • glyphicon glyphicon-ɣletigbalẽ
  • glyphicon glyphicon-si wowɔ le vome
  • glyphicon glyphicon-nya nu tso nya sia ŋu
  • glyphicon glyphicon-magnet ƒe nɔnɔmetata
  • glyphicon glyphicon-chevron-dziyiyi ƒe dzesiwo
  • glyphicon glyphicon-chevron-siwo le anyime
  • glyphicon glyphicon-gbugbɔ ŋlɔ nu ɖe ​​ame ŋu
  • glyphicon glyphicon-nuƒleƒe-keke
  • glyphicon glyphicon-agbalẽdzraɖoƒe-tu
  • glyphicon glyphicon-agbalẽdzraɖoƒe-ʋu
  • glyphicon glyphicon-trɔ asi le eƒe lolome ŋu le tsitrenu
  • glyphicon glyphicon-trɔ asi le eƒe lolome ŋu le tsia dzi
  • glyphicon ƒe nɔnɔmetatawo ƒe nɔnɔmetatawo-hdd
  • glyphicon glyphicon-nyitsu ƒe dzo
  • glyphicon glyphicon-gaƒoɖokui ƒe gaƒoɖokui
  • glyphicon glyphicon-seɖigbalẽ
  • glyphicon glyphicon-asibidɛwo ƒe asibidɛwo dzi
  • glyphicon glyphicon-asibidɛwo-aɖiɖi
  • glyphicon glyphicon-asi-ɖusime
  • glyphicon glyphicon-asi-miame
  • glyphicon glyphicon-asi-dzi-dzi
  • glyphicon glyphicon-asi-aɖiɖi
  • glyphicon glyphicon-ƒo xlã-aŋutsrɔe-ɖusime
  • glyphicon glyphicon-ƒo xlã-aŋutsrɔe-miame
  • glyphicon glyphicon-ƒo xlã-aŋutsrɔe-yi dzi
  • glyphicon glyphicon-ƒo xlã-aŋutsrɔe-aɖiɖi
  • glyphicon glyphicon-globe ƒe ƒuƒoƒo
  • glyphicon glyphicon-safui ƒe ʋuƒo
  • glyphicon glyphicon-dɔwo wɔwɔ
  • glyphicon glyphicon-ʋuʋudedi ƒe ʋuʋudedi
  • glyphicon glyphicon-agbalẽkotoku
  • glyphicon glyphicon-nukpɔkpɔ bliboa ƒe nɔnɔmetata
  • glyphicon glyphicon-dashboard ƒe dzesiwo
  • glyphicon glyphicon-pepa ƒe ƒuƒoƒo
  • glyphicon glyphicon-dzi-ƒuƒlu
  • glyphicon glyphicon-kadodo ƒe ƒuƒoƒo
  • glyphicon glyphicon-telefon si dzi woŋlɔa nu ɖo
  • glyphicon glyphicon-ʋuʋudedi ƒe ʋuƒo
  • glyphicon ƒe nɔnɔmetatawo ƒe nɔnɔmetatawo-usd
  • glyphicon ƒe nɔnɔmetatawo ƒe nɔnɔmetatawo-gbp
  • glyphicon glyphicon-ƒomevi aɖe
  • glyphicon glyphicon-ɖoɖo-ɖe-ŋɔŋlɔdzesiwo nu
  • glyphicon glyphicon-ɖoɖo-ɖe-ŋɔŋlɔdzesiwo nu-alt
  • glyphicon glyphicon-ɖoɖo ɖe ɖoɖo nu
  • glyphicon glyphicon-ɖoɖo-ɖe-ɖoɖo-alt
  • glyphicon glyphicon-ɖoɖo-ɖe-nɔnɔmewo nu
  • glyphicon glyphicon-ɖoɖo-le-nɔnɔmewo nu-alt
  • glyphicon glyphicon-si womekpɔ o
  • glyphicon glyphicon-keke ɖe enu
  • glyphicon glyphicon-dzidzedze-aɖiɖi
  • glyphicon glyphicon-dzidzedze-dzidzedze
  • glyphicon glyphicon-ge ɖe eme
  • glyphicon glyphicon-klẽ ƒe dzesi
  • glyphicon glyphicon-ɖe-do goe
  • glyphicon glyphicon-fesre-yeye-fesre
  • glyphicon glyphicon-nuŋlɔɖi
  • glyphicon glyphicon-dzra ɖo ɖe ame ŋu
  • glyphicon glyphicon-ʋu ƒe dzesiwo
  • glyphicon glyphicon-si wodzra ɖo
  • glyphicon glyphicon-tsɔtsɔ tso duta vɛ
  • glyphicon glyphicon-ɖoɖo ɖe duta
  • glyphicon glyphicon-ɖoɖo ɖe ame ŋu
  • glyphicon glyphicon-ʋuʋudedi-disk
  • glyphicon glyphicon-floppy-si wodzra ɖo
  • glyphicon glyphicon-floppy-ɖea lãgbalẽ ɖa
  • glyphicon glyphicon-floppy-dzrae ɖo
  • glyphicon glyphicon-ʋuʋu le fli me
  • glyphicon glyphicon-gaxɔgbalẽvi
  • glyphicon glyphicon-tsɔtsɔ yi teƒe bubu
  • glyphicon glyphicon-nuɖanu siwo wotsɔna ɖaa nu
  • glyphicon glyphicon-tanya ƒe dzesi
  • glyphicon glyphicon si wotsɔ ƒo ƒui
  • glyphicon glyphicon-toɖoɖomɔ̃
  • glyphicon glyphicon-telefon-alt ƒe dzesiwo
  • glyphicon glyphicon-xɔ kɔkɔ aɖe
  • glyphicon glyphicon-akɔntabubuwo
  • glyphicon glyphicon-sd-video ƒe nɔnɔmetata
  • glyphicon ŋlɔɖi-hd-video
  • glyphicon glyphicon-nya siwo le ete
  • glyphicon glyphicon-gbeɖiɖi-nɔnɔmetata
  • glyphicon glyphicon-gbeɖiɖi-dolby ƒe ƒuƒoƒo
  • glyphicon glyphicon-gbeɖiɖi-5-1
  • glyphicon glyphicon-gbeɖiɖi-6-1
  • glyphicon glyphicon-gbeɖiɖi-7-1
  • glyphicon glyphicon-nutata ƒe gomenɔamesi-dzesi
  • glyphicon glyphicon-dzeside-dzesi
  • glyphicon glyphicon-alilikpo-ɖe-a-ɖe-a-ɖe-ɖe
  • glyphicon glyphicon-alilikpo-ɖoɖo ɖe amewo dzi
  • glyphicon glyphicon-ati-ti-ti-ti-ti-ti-ti-ti-ti-ti-ti-ti ƒe ƒuƒoƒo
  • glyphicon glyphicon-ti-si ƒe aŋgbawo ƒuna
  • glyphicon ŋlɔɖi-cd
  • glyphicon glyphicon-dzra-faɛl ɖo
  • glyphicon glyphicon-ʋu-faɛl
  • glyphicon glyphicon-dzidzenu-dzi-dzi
  • glyphicon glyphicon-kɔpi ƒe nɔnɔmetata
  • glyphicon glyphicon-nu si wotsɔ ƒoa ƒui
  • glyphicon glyphicon-nuxlɔ̃ame
  • glyphicon glyphicon-nu si wotsɔ sɔ kple wo nɔewo
  • glyphicon glyphicon-fia ƒe nɔnɔmetata
  • glyphicon glyphicon-fianyɔnu
  • glyphicon glyphicon-ʋuʋudedi ƒe ƒuƒoƒo
  • glyphicon glyphicon-bisiɔp ƒe nɔnɔmetata
  • glyphicon glyphicon-sɔdola ƒe ƒuƒoƒo
  • glyphicon glyphicon-vidzĩ ƒe atike
  • glyphicon glyphicon-gbadɔ si me woŋlɔa nu ɖo
  • glyphicon glyphicon-kplɔ̃ yibɔ
  • glyphicon glyphicon-aba si dzi woŋlɔa nu ɖo
  • glyphicon glyphicon-akɔɖu
  • glyphicon glyphicon-tutu ƒe ƒuƒoƒo
  • glyphicon glyphicon-gaƒoɖokui ƒe gaƒoɖokui
  • glyphicon glyphicon-kaɖi si wotsɔna ƒoa ƒui
  • glyphicon glyphicon-gbugbɔgawɔ
  • glyphicon glyphicon-hadzidzi ƒe gadzraɖoƒe
  • glyphicon glyphicon-lãgbalẽŋudɔwɔnu
  • glyphicon ŋlɔɖi-bitcoin
  • glyphicon ƒe nɔnɔmetatawo ƒe nɔnɔmetatawo-btc
  • glyphicon glyphicon-xbt ƒe nɔnɔmetatawo
  • glyphicon glyphicon-yen ƒe nɔnɔmetatawo
  • glyphicon ƒe nɔnɔmetatawo ƒe nɔnɔmetatawo-jpy
  • glyphicon glyphicon-ruble ƒe nɔnɔmetata
  • glyphicon glyphicon-ʋuʋudedi ƒe ƒuƒoƒo
  • glyphicon glyphicon-dzidzenu ƒe dzesi
  • glyphicon glyphicon-tsikpe ƒe lãgbalẽ
  • glyphicon glyphicon-tsikpe-lolly-vivi
  • glyphicon glyphicon-hehenana amewo
  • glyphicon glyphicon-tiatiawɔblɔɖe-si le tsia dzi
  • glyphicon glyphicon-tiatia-tsitrenu
  • glyphicon glyphicon-nuɖuɖu ƒe nuɖuɖu-hamburger
  • glyphicon glyphicon-modal-fesre ƒe nɔnɔmetata
  • glyphicon glyphicon-ami si wotsɔna ƒoa ƒui
  • glyphicon glyphicon-nuku ƒe ƒuƒoƒo
  • glyphicon glyphicon-ɣe ƒe ŋkumewu
  • glyphicon glyphicon-ŋɔŋlɔ ƒe lolome
  • glyphicon glyphicon-nuŋɔŋlɔ-amadede
  • glyphicon glyphicon-nuŋɔŋlɔ-megbenya
  • glyphicon glyphicon-nu-ɖoɖo-dzi-dzi
  • glyphicon glyphicon-nu-nu-ɖo-anyi-anyi
  • glyphicon glyphicon-nu-nu-ɖo-dzi-dzi-dzi
  • glyphicon glyphicon-nu-ɖoɖo-miame
  • glyphicon glyphicon-nu-nu-ɖo-tsitrenu
  • glyphicon glyphicon-nu-ɖoɖo-ɖusime
  • glyphicon glyphicon-dzogoe etɔ̃-ɖusime
  • glyphicon glyphicon-dzogoe etɔ̃-miame
  • glyphicon glyphicon-dzogoe etɔ̃ ƒe anyime
  • glyphicon glyphicon-dzogoe etɔ̃ ƒe tame
  • glyphicon glyphicon-ƒomevi ƒe nɔnɔmetata
  • glyphicon glyphicon-ŋɔŋlɔdzesi si le etame
  • glyphicon glyphicon-ŋɔŋlɔdzesi si le ete
  • glyphicon glyphicon-menu-miame
  • glyphicon glyphicon-menu-ɖusime
  • glyphicon glyphicon-menu-agbe
  • glyphicon glyphicon-nuŋɔŋlɔ ƒe ƒuƒoƒo

Ale si woazãe

Le dɔwɔwɔ ta la, nɔnɔmetatawo katã hiã gɔmeɖoanyi ƒe hatsotso kple dzesi ɖekaɖeka ƒe hatsotso. Be nàzãe la, da kɔda si gbɔna la ɖe afi sia afi kloe. Kpɔ egbɔ be yegblẽ teƒe aɖe ɖe dzesi la kple nuŋɔŋlɔa dome be woatsɔ ablae nyuie.

Mègatsaka kple akpa bubuwo o

Womate ŋu atsɔ dzesi ƒe hatsotsowo aƒo ƒu kple akpa bubuwo tẽ o. Mele be woazã wo kpe ɖe klass bubuwo ŋu le element ɖeka ma ke dzi o. Ke boŋ, tsɔ nested kpee <span>eye nàwɔ dzesi ƒe hatsotsoawo ŋudɔ ɖe <span>.

Ðeko woazã ɖe nu ƒuƒluwo dzi

Ele be woazã dzesi ƒe hatsotsowo ɖe nusiwo me nuŋɔŋlɔ ƒe nya aɖeke mele o eye vi ƒe akpa aɖeke mele o dzi ko.

Trɔtrɔ dzesi ƒe ŋɔŋlɔdzesi ƒe teƒe

Bootstrap tsɔe be dzesi ƒe nuŋɔŋlɔ ƒe faɛlwo anɔ ../fonts/agbalẽdzraɖoƒea, ne wotsɔe sɔ kple CSS faɛl siwo woƒo ƒu. Ʋuʋu alo ŋkɔ yeye na ŋɔŋlɔdzesiwo ƒe faɛl mawo fia be nàtrɔ asi le CSS la ŋu to mɔ etɔ̃awo dometɔ ɖeka dzi:

  • Trɔ @icon-font-pathkple/alo @icon-font-nametɔtrɔwo le dzɔtsoƒe Less faɛlwo me.
  • relative URLs ƒe tiatia si Less nuƒoƒoƒula na.
  • Trɔ url()mɔ siwo le CSS si woƒo ƒu la me.

Zã tiatia ɖesiaɖe si asɔ na wò ŋgɔyiyi ƒe ɖoɖo tɔxɛa nyuie wu.

Nɔnɔmetata siwo ŋu woate ŋu aɖo

Kpekpeɖeŋunamɔ̃wo ƒe egbegbe tɔtrɔwo aɖe gbeƒã nyatakaka siwo CSS wɔ, kpakple Unicode ŋɔŋlɔdzesi tɔxɛwo. Be míaƒo asa na nusiwo womeɖo o eye wotɔtɔa ame le screen readers me (vevietɔ ne wozã nɔnɔmetatawo hena atsyɔ̃ɖoɖo ko la), míeɣlaa wo kple aria-hidden="true"nɔnɔmea.

Ne èle dzesi zãm tsɔ le gɔmesese gblɔm (ke menye abe atsyɔ̃ɖoɖo ƒe akpa aɖe ko ene o), kpɔ egbɔ be gɔmesese sia hã le mɔ̃ɖaŋununya siwo kpena ɖe ame ŋu la gbɔgblɔm – le kpɔɖeŋu me, tsɔ nya bubuwo kpe ɖe eŋu, siwo woɣla ɖe nukpɔkpɔ me kple .sr-onlyklass la.

Ne èle dziɖuɖuwo wɔm siwo me nuŋɔŋlɔ bubu aɖeke mele o (abe a <button>si me dzesi aɖe koe le ene) la, ele be nàna nyatakaka bubuwo ɣesiaɣi be nàde dzesi taɖodzinu si le dziɖuɖua ŋu, ale be gɔmesese nanɔ eme na kpekpeɖeŋunamɔ̃ɖaŋunuwo zãlawo. Le go sia me la, àte ŋu atsɔ aria-labelnɔnɔme aɖe akpe ɖe dziɖuɖua ŋutɔ ŋu.

<span class="glyphicon glyphicon-search" aria-hidden="true"></span>

Kpɔɖeŋuwo

Zã wo le abɔtawo, abɔtiwo ƒe ƒuƒoƒo me na dɔwɔnu ƒe akpa aɖe, mɔfiamewo, alo agbalẽvi siwo woŋlɔ do ŋgɔ ƒe nuŋɔŋlɔwo me.

<button type="button" class="btn btn-default" aria-label="Left Align">
  <span class="glyphicon glyphicon-align-left" aria-hidden="true"></span>
</button>

<button type="button" class="btn btn-default btn-lg">
  <span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star
</button>

Dzesi si wozãna le nuxlɔ̃ame me tsɔ ɖenɛ fiana be vodada ƒe gbedasie, kple .sr-onlynuŋɔŋlɔ bubuwo tsɔ gblɔa aɖaŋuɖoɖo sia na kpekpeɖeŋunamɔ̃wo zãlawo.

<div class="alert alert-danger" role="alert">
  <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
  <span class="sr-only">Error:</span>
  Enter a valid email address
</div>

Nusiwo wotsɔna ƒua gbe

Menu si woate ŋu atrɔ, si le nya siwo ƒo xlãe me hena kadodowo ƒe xexlẽdzesiwo ɖeɖefia. Wowɔe be wòawɔ dɔ kple JavaScript ƒe kpeɖeŋutɔ si le fli dzi .

Kpe fli si le fli dzi la ƒe trigger kple nu si le fli dzi la ɖe .dropdown, alo nu bubu si ɖe gbeƒã position: relative;. Emegbe nàtsɔ menu la ƒe HTML akpe ɖe eŋu.

<div class="dropdown">
  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
    Dropdown
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
    <li><a href="#">Action</a></li>
    <li><a href="#">Another action</a></li>
    <li><a href="#">Something else here</a></li>
    <li role="separator" class="divider"></li>
    <li><a href="#">Separated link</a></li>
  </ul>
</div>

Woateŋu atrɔ nusiwo le tsia dzi be woakeke ɖe enu ayi dzi (le esi teƒe be woakeke ɖe anyi) to tsɔtsɔ kpe .dropupɖe dzila la ŋu me.

<div class="dropup">
  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Dropup
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" aria-labelledby="dropdownMenu2">
    <li><a href="#">Action</a></li>
    <li><a href="#">Another action</a></li>
    <li><a href="#">Something else here</a></li>
    <li role="separator" class="divider"></li>
    <li><a href="#">Separated link</a></li>
  </ul>
</div>

Le gɔmedzedzea me la, woɖoa nusiwo le tsia dzi la ɖe teƒe si le eɖokui si 100% tso etame kple edzila ƒe miame. Tsɔ kpe .dropdown-menu-rightɖe a .dropdown-menuŋu yi ɖusime ɖo fli si le fli dzi la ɖe ɖoɖo nu.

Ðewohĩ abia be woaɖo teƒe bubuwo ɖe teƒe bubu

Woɖoa nusiwo wotsɔna ƒua gbe ɖe teƒea le wo ɖokui si to CSS dzi le nuŋlɔɖia ƒe sisi si sɔ me. Esia fia be dzila siwo si nɔnɔme aɖewo le ateŋu atso dropdowns overflowalo adze le viewport ƒe liƒowo godo. Kpɔ nya siawo gbɔ le ɖokuiwò si ne wodo mo ɖa.

Womeɖe .pull-rightmɔ ɖe ɖoɖo nu o

Tso v3.1.0 dzi la, míeɖe asi le nu .pull-rightsiwo le fli dzi ŋu. Ne èdi be yeaɖo menu aɖe ɖe ɖusime la, zã .dropdown-menu-right. Nav ƒe akpa siwo woɖo ɖe ɖusime le navbar la me zãa klass sia ƒe mixin tɔ tsɔ ɖoa ​​menu la ɖe ɖoɖo nu le eɖokui si. Be nàɖe asi le eŋu la, zã .dropdown-menu-left.

<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dLabel">
  ...
</ul>

Tsɔ tanya kpee be nàde dzesi nuwɔna ƒe akpawo le nu ɖesiaɖe si le fli dzi me.

<ul class="dropdown-menu" aria-labelledby="dropdownMenu3">
  ...
  <li class="dropdown-header">Dropdown header</li>
  ...
</ul>

Tsɔ mama aɖe kpe ɖe kadodo siwo kplɔ wo nɔewo ɖo siwo le fli me la ŋu.

<ul class="dropdown-menu" aria-labelledby="dropdownMenuDivider">
  ...
  <li role="separator" class="divider"></li>
  ...
</ul>

Tsɔ kpe .disabledɖe a <li>ŋu le fli si le fli dzi la me be nàgawɔ kadodoa o.

<ul class="dropdown-menu" aria-labelledby="dropdownMenu4">
  <li><a href="#">Regular link</a></li>
  <li class="disabled"><a href="#">Disabled link</a></li>
  <li><a href="#">Another link</a></li>
</ul>

Abɔta ƒe ƒuƒoƒowo

Ƒo abɔta siwo kplɔ wo nɔewo ɖo ɖe fli ɖeka dzi kple abɔta ƒe ƒuƒoƒoa. Tsɔ JavaScript radio kple aɖaka ƒe atsyã ƒe nuwɔna si nètia la kpe ɖe eŋu kple míaƒe abɔtawo ƒe kpeɖeŋutɔ .

Dɔwɔnu ƒe aɖaŋuɖoɖowo & popovers le button ƒuƒoƒowo me bia ɖoɖo tɔxɛ aɖe

Ne èle dɔwɔnu ƒe aɖaŋuɖoɖowo alo popovers zãm ɖe element siwo le a me ŋu .btn-groupla, ahiã be nàgblɔ tiatia si nàwɔ container: 'body'be nàƒo asa na nugbegblẽ le ame ŋu siwo mèdi o (abe element la ƒe tsitsi keke ɖe enu kple/alo eƒe dzogoe siwo le goglo la ƒe bu ne wodze tooltip alo popover la gɔme ene).

Kpɔ egbɔ be esɔ roleeye nàna dzesidenu

Be mɔ̃ɖaŋununya siwo kpena ɖe ame ŋu – abe screen readers ene – naɖee afia be woƒo abɔta siwo kplɔ wo nɔewo ɖo nu ƒu la, roleele be woana nɔnɔme si sɔ. Le abɔta ƒuƒoƒowo gome la, esia anye role="group", esime ele be dɔwɔnu ƒe ƒuƒoƒowo nakpɔ role="toolbar".

Ðeka si to vovoe nye ƒuƒoƒo siwo me dziɖuɖu ɖeka koe le (le kpɔɖeŋu me, abɔta ƒe ƒuƒoƒo siwo woɖo ɖi kple <button>nusiwo le eme) alo nusi wotsɔna ƒua gbe.

Tsɔ kpe ɖe eŋu la, ele be woana dzeside si me kɔ tẽ ƒuƒoƒowo kple dɔwɔnuwo, elabena ne menye nenema o la, kpekpeɖeŋunamɔ̃ akpa gãtɔ maɖe gbeƒã wo o, togbɔ be nɔnɔme si sɔ la li rolehã. Le kpɔɖeŋu siwo wona le afisia me la, míezãa aria-label, gake woate ŋu azã mɔnu bubuwo abe alesi aria-labelledbywoate ŋu azãe ene hã.

Kpɔɖeŋu vevi aɖe

Kpe abɔta siwo kplɔ wo nɔewo ɖo kple .btnin .btn-group.

<div class="btn-group" role="group" aria-label="...">
  <button type="button" class="btn btn-default">Left</button>
  <button type="button" class="btn btn-default">Middle</button>
  <button type="button" class="btn btn-default">Right</button>
</div>

Dɔwɔnu ƒe akpa si le abɔta

Tsɔ hatsotsowo ƒo ƒu <div class="btn-group">ɖe a me <div class="btn-toolbar">hena akpa siwo sesẽ wu.

<div class="btn-toolbar" role="toolbar" aria-label="...">
  <div class="btn-group" role="group" aria-label="...">...</div>
  <div class="btn-group" role="group" aria-label="...">...</div>
  <div class="btn-group" role="group" aria-label="...">...</div>
</div>

Sizing ƒe lolome

Le esi teƒe be nàwɔ abɔta ƒe lolome ƒe klasswo ŋudɔ ɖe abɔta ɖesiaɖe ŋu le ƒuƒoƒo aɖe me la, ɖeko nàtsɔe akpe .btn-group-*ɖe ɖesiaɖe ŋu .btn-group, ne èle ƒuƒoƒo geɖe ƒom hã le eme.




<div class="btn-group btn-group-lg" role="group" aria-label="...">...</div>
<div class="btn-group" role="group" aria-label="...">...</div>
<div class="btn-group btn-group-sm" role="group" aria-label="...">...</div>
<div class="btn-group btn-group-xs" role="group" aria-label="...">...</div>

Atɔwɔwɔ

Da a .btn-groupɖe bubu me .btn-groupne èdi be woatsɔ nu siwo le tsia dzi la tsaka kple abɔta siwo kplɔ wo nɔewo ɖo.

<div class="btn-group" role="group" aria-label="...">
  <button type="button" class="btn btn-default">1</button>
  <button type="button" class="btn btn-default">2</button>

  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
      Dropdown
      <span class="caret"></span>
    </button>
    <ul class="dropdown-menu">
      <li><a href="#">Dropdown link</a></li>
      <li><a href="#">Dropdown link</a></li>
    </ul>
  </div>
</div>

Tɔtrɔ le tsitrenu

Na abɔtawo ƒe hatsotso aɖe nadze le tsia dzi tsɔ wu be woanɔ tsia dzi. Womedoa alɔ split button ƒe ʋuʋudediwo le afisia o.

<div class="btn-group-vertical" role="group" aria-label="...">
  ...
</div>

Button ƒe ƒuƒoƒo siwo woɖo ɖi

Na abɔtawo ƒe ƒuƒoƒo aɖe nakeke ɖe enu wòalolo sɔsɔe be wòaxɔ edzila ƒe kekeme bliboa. Azɔ hã, ewɔa dɔ kple abɔta siwo le abɔta ƒe ƒuƒoƒoa me.

Liƒowo gbɔ kpɔkpɔ

Le HTML kple CSS tɔxɛ siwo wozãna tsɔ ɖoa ​​kpe abɔtawo dzi (si nye display: table-cell) ta la, wo dome liƒowo dzina ɖe edzi zi gbɔ zi eve. Le button ƒuƒoƒo siwo wowɔna edziedzi me la, margin-left: -1pxwozãnɛ tsɔ ƒoa liƒoawo nu ƒu ɖe wo nɔewo dzi tsɔ wu be woaɖe wo ɖa. Ke hã, marginmewɔa dɔ kple display: table-cell. Esia wɔe be le wò tɔtrɔ ɖe Bootstrap ŋu nu la, àte ŋu aɖe liƒoawo ɖa alo agbugbɔ amadede aɖo wo me.

IE8 kple liƒowo

Internet Explorer 8 meɖea liƒowo fiana le abɔtawo dzi le abɔta ƒe ƒuƒoƒo si sɔ me o, eɖanye le dzi <a>alo <button>nu veviwo me o. Be nàte ŋu aƒo asa na ema la, xatsa abɔta ɖesiaɖe ɖe bubu .btn-groupme .

Kpɔ #12476 hena nyatakaka bubuwo.

Kple <a>nu veviwo

.btnÐeko nàxatsa s siwo kplɔ wo nɔewo ɖo ɖe .btn-group.btn-group-justified.

<div class="btn-group btn-group-justified" role="group" aria-label="...">
  ...
</div>

Kadodo siwo wɔa dɔ abe abɔtawo ene

Ne wozã <a>nuawo tsɔ wɔa dɔ abe abɔtawo ene – si hea axaa me dɔwɔwɔ vɛ, tsɔ wu be woazɔ mɔ ayi nuŋlɔɖi alo akpa bubu si le axa si li fifia me la – ele be woana role="button".

Kple <button>nu veviwo

Be nàzã abɔta ƒe ƒuƒoƒo siwo sɔ kple <button>nusiwo le eme la, ele be nàxatsa abɔta ɖesiaɖe ɖe abɔta ƒe ƒuƒoƒo me . Browser akpa gãtɔ mewɔa míaƒe CSS ŋudɔ nyuie hena dzɔdzɔenyenye na <button>elementwo o, gake esi míedoa alɔ button dropdowns ta la, míate ŋu awɔ dɔ tso ema ŋu.

<div class="btn-group btn-group-justified" role="group" aria-label="...">
  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default">Left</button>
  </div>
  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default">Middle</button>
  </div>
  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default">Right</button>
  </div>
</div>

Abɔta siwo le fli dzi

Zã abɔta ɖesiaɖe nàtsɔ aʋu menu si le fli dzi la to edada ɖe a me .btn-groupeye nàna menu ƒe dzesi nyuitɔ nana.

Plugin ƒe ŋuɖoɖo ɖe eŋu

Abɔta siwo le tsia dzi la abia be woatsɔ fli si le tsia dzi la ade wò Bootstrap ƒe tɔtrɔ yeyea me.

Abɔti ɖeka ƒe ʋuʋudediwo

Trɔ abɔta aɖe wòazu nusi wotsɔna trɔa asi le nu ŋu kple dzesidenu vevi aɖewo ƒe tɔtrɔ.

<!-- Single button -->
<div class="btn-group">
  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Action <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    <li><a href="#">Action</a></li>
    <li><a href="#">Another action</a></li>
    <li><a href="#">Something else here</a></li>
    <li role="separator" class="divider"></li>
    <li><a href="#">Separated link</a></li>
  </ul>
</div>

Ma abɔta ƒe akpa siwo le tsia dzi

Nenema ke wɔ split button dropdowns kple dzesi ƒe tɔtrɔ ɖeka mawo ke, kple button ɖe vovo ko.

<!-- Split button -->
<div class="btn-group">
  <button type="button" class="btn btn-danger">Action</button>
  <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <span class="caret"></span>
    <span class="sr-only">Toggle Dropdown</span>
  </button>
  <ul class="dropdown-menu">
    <li><a href="#">Action</a></li>
    <li><a href="#">Another action</a></li>
    <li><a href="#">Something else here</a></li>
    <li role="separator" class="divider"></li>
    <li><a href="#">Separated link</a></li>
  </ul>
</div>

Sizing ƒe lolome

Abɔta siwo le tsia dzi la wɔa dɔ kple abɔta siwo ƒe lolome le vovovo.

<!-- Large button group -->
<div class="btn-group">
  <button class="btn btn-default btn-lg dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Large button <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    ...
  </ul>
</div>

<!-- Small button group -->
<div class="btn-group">
  <button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Small button <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    ...
  </ul>
</div>

<!-- Extra small button group -->
<div class="btn-group">
  <button class="btn btn-default btn-xs dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Extra small button <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    ...
  </ul>
</div>

Dropup ƒe tɔtrɔ

Dze nusiwo le tsia dzi la ƒe akpa siwo le elementwo tame la gɔme to etsɔtsɔ kpe .dropupɖe dzila la ŋu me.

<div class="btn-group dropup">
  <button type="button" class="btn btn-default">Dropup</button>
  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <span class="caret"></span>
    <span class="sr-only">Toggle Dropdown</span>
  </button>
  <ul class="dropdown-menu">
    <!-- Dropdown menu links -->
  </ul>
</div>

Nusiwo wotsɔ de eme ƒe ƒuƒoƒowo

Keke nuŋlɔɖigbalẽviwo dzi kpɔkpɔ ɖe enu to nuŋɔŋlɔ alo abɔtawo tsɔtsɔ kpe ɖe eŋu do ŋgɔ, emegbe, alo le akpa eveawo dzi le nuŋɔŋlɔ ɖesiaɖe si wotu ɖe <input>edzi me . Zãe .input-groupkple .input-group-addonalo .input-group-btntsɔ do ŋgɔ alo tsɔ nusiwo le eme kpe ɖe ɖeka .form-controlŋu .

Nuŋɔŋlɔ <input>s ɖeɖeko

Ƒo asa na elementwo zazã <select>le afisia elabena womateŋu awɔ woƒe atsyã bliboe le WebKit browserwo me o.

Ƒo asa na elementwo zazã <textarea>le afisia elabena rowswomade bubu woƒe nɔnɔme ŋu le go aɖewo me o.

Dɔwɔnu ƒe aɖaŋuɖoɖowo & popovers le nyawo tsɔtsɔ de eme ƒe ƒuƒoƒowo me bia ɖoɖo tɔxɛ aɖe

Ne èle dɔwɔnu ƒe aɖaŋuɖoɖowo alo popovers zãm ɖe element siwo le an me dzi .input-groupla, ahiã be nàgblɔ tiatia si nàwɔ container: 'body'be nàƒo asa na nugbegblẽ le ame ŋu siwo mèdi o (abe element la ƒe tsitsi keke ɖe enu kple/alo eƒe dzogoe siwo le goglo la ƒe bu ne wodze dɔwɔnu ƒe nya alo popover la gɔme ene).

Mègatsaka kple akpa bubuwo o

Mègatsaka nuŋlɔɖi ƒe ƒuƒoƒowo alo grid kɔlam ƒe hatsotsowo tẽ kple nyawo tsɔtsɔ de eme ƒe ƒuƒoƒowo o. Ke boŋ, tsɔ nyawo tsɔtsɔ de eme ƒe ƒuƒoƒoa de agbalẽvi ƒe ƒuƒoƒo alo nusi do ƒome kple grid la me.

Tsɔ dzesidewo kpee ɣesiaɣi

Screen readers akpɔ kuxi le wò agbalẽviwo ŋu ne mède dzesidenu ɖesiaɖe si nèŋlɔ la ŋu o. Le nyawo tsɔtsɔ de eme ƒe ƒuƒoƒo siawo gome la, kpɔ egbɔ be wotsɔ dzeside alo dɔwɔwɔ bubu ɖesiaɖe si kpe ɖe eŋu la yi na kpekpeɖeŋunamɔ̃ɖaŋunuwo.

Mɔnu si tututu woazã (nu siwo woate ŋu akpɔ <label>, <label>nusiwo woɣla to .sr-onlyklass la zazã me, alo aria-label, aria-labelledby, aria-describedby, titlealo placeholdernɔnɔmea zazã) kple nyatakaka bubu siwo wòahiã be woatsɔ ayi na amewo la ato vovo le ƒomedodo ƒe widget ƒomevi si tututu nèle dɔ wɔm la nu. Kpɔɖeŋu siwo le akpa sia me na mɔnu ʋɛ aɖewo siwo wodo ɖa, siwo ku ɖe nya aɖewo koŋ ŋu.

Kpɔɖeŋu vevi aɖe

Da kpeɖeŋutɔ alo abɔta ɖeka ɖe nyawo tsɔtsɔ de eme ƒe akpa eveawo. Àte ŋu atsɔ ɖeka hã ade nya aɖe si wotsɔ de eme ƒe akpa eveawo.

Míedoa alɔ kpeɖeŋutɔ geɖe ( .input-group-addonalo .input-group-btn) le akpa ɖeka dzi o.

Míedoa alɔ form-control geɖe le nyawo tsɔtsɔ de eme ƒe ƒuƒoƒo ɖeka me o.

@ .

@kpɔɖeŋu.com

$ .00 ƒe xexlẽme

https://kpɔɖeŋu.com/zãlawo/ .
<div class="input-group">
  <span class="input-group-addon" id="basic-addon1">@</span>
  <input type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1">
</div>

<div class="input-group">
  <input type="text" class="form-control" placeholder="Recipient's username" aria-describedby="basic-addon2">
  <span class="input-group-addon" id="basic-addon2">@example.com</span>
</div>

<div class="input-group">
  <span class="input-group-addon">$</span>
  <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
  <span class="input-group-addon">.00</span>
</div>

<label for="basic-url">Your vanity URL</label>
<div class="input-group">
  <span class="input-group-addon" id="basic-addon3">https://example.com/users/</span>
  <input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3">
</div>

Sizing ƒe lolome

Tsɔ nɔnɔme ƒe lolome ƒe hatsotso siwo sɔ kple wo nɔewo kpe ɖe .input-groupeya ŋutɔ ŋu eye emenyawo le eme atrɔ woƒe lolome le eɖokui si—mehiã be nàgbugbɔ nuŋlɔɖi ƒe lolome dzi kpɔkpɔ ƒe hatsotsowo agbugbɔ le nu ɖesiaɖe dzi o.

@ .

@ .

@ .
<div class="input-group input-group-lg">
  <span class="input-group-addon" id="sizing-addon1">@</span>
  <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon1">
</div>

<div class="input-group">
  <span class="input-group-addon" id="sizing-addon2">@</span>
  <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon2">
</div>

<div class="input-group input-group-sm">
  <span class="input-group-addon" id="sizing-addon3">@</span>
  <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon3">
</div>

Dzesiɖakawo kple radio dzi kpeɖeŋutɔwo

De dzesiɖaka alo radio ƒe tiatia ɖesiaɖe ɖe nyawo tsɔtsɔ de eme ƒe ƒuƒoƒo aɖe ƒe kpeɖeŋutɔ me ɖe nuŋɔŋlɔ teƒe.

<div class="row">
  <div class="col-lg-6">
    <div class="input-group">
      <span class="input-group-addon">
        <input type="checkbox" aria-label="...">
      </span>
      <input type="text" class="form-control" aria-label="...">
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
  <div class="col-lg-6">
    <div class="input-group">
      <span class="input-group-addon">
        <input type="radio" aria-label="...">
      </span>
      <input type="text" class="form-control" aria-label="...">
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
</div><!-- /.row -->

Button ƒe kpeɖeŋutɔwo

Abɔta siwo le nyawo tsɔtsɔ de eme ƒe ƒuƒoƒowo me to vovo vie eye wobia be woawɔ atɔ ƒe ɖoɖo ɖeka kpee. Le esi teƒe .input-group-addonbe nàzã , ahiã be nàzã .input-group-btnatsɔ abla abɔtaawo. Esia hiã le web-browser ƒe atsyã siwo woɖo ɖi siwo womate ŋu atrɔ asi le o ta.

<div class="row">
  <div class="col-lg-6">
    <div class="input-group">
      <span class="input-group-btn">
        <button class="btn btn-default" type="button">Go!</button>
      </span>
      <input type="text" class="form-control" placeholder="Search for...">
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
  <div class="col-lg-6">
    <div class="input-group">
      <input type="text" class="form-control" placeholder="Search for...">
      <span class="input-group-btn">
        <button class="btn btn-default" type="button">Go!</button>
      </span>
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
</div><!-- /.row -->

Abɔta siwo dzi woŋlɔ nu ɖo

<div class="row">
  <div class="col-lg-6">
    <div class="input-group">
      <div class="input-group-btn">
        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Action <span class="caret"></span></button>
        <ul class="dropdown-menu">
          <li><a href="#">Action</a></li>
          <li><a href="#">Another action</a></li>
          <li><a href="#">Something else here</a></li>
          <li role="separator" class="divider"></li>
          <li><a href="#">Separated link</a></li>
        </ul>
      </div><!-- /btn-group -->
      <input type="text" class="form-control" aria-label="...">
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
  <div class="col-lg-6">
    <div class="input-group">
      <input type="text" class="form-control" aria-label="...">
      <div class="input-group-btn">
        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Action <span class="caret"></span></button>
        <ul class="dropdown-menu dropdown-menu-right">
          <li><a href="#">Action</a></li>
          <li><a href="#">Another action</a></li>
          <li><a href="#">Something else here</a></li>
          <li role="separator" class="divider"></li>
          <li><a href="#">Separated link</a></li>
        </ul>
      </div><!-- /btn-group -->
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
</div><!-- /.row -->

Abɔta siwo woma ɖe akpa vovovowo me

<div class="input-group">
  <div class="input-group-btn">
    <!-- Button and dropdown menu -->
  </div>
  <input type="text" class="form-control" aria-label="...">
</div>

<div class="input-group">
  <input type="text" class="form-control" aria-label="...">
  <div class="input-group-btn">
    <!-- Button and dropdown menu -->
  </div>
</div>

Abɔta geɖe

Togbɔ be kpeɖeŋutɔ ɖeka koe nàte ŋu atsɔ akpe ɖe akpa ɖesiaɖe ŋu hã la, àte ŋu akpɔ abɔta geɖe le ɖeka .input-group-btnme .

<div class="input-group">
  <div class="input-group-btn">
    <!-- Buttons -->
  </div>
  <input type="text" class="form-control" aria-label="...">
</div>

<div class="input-group">
  <input type="text" class="form-control" aria-label="...">
  <div class="input-group-btn">
    <!-- Buttons -->
  </div>
</div>

Navs

Navs siwo le Bootstrap me la ma markup, dze egɔme tso gɔmeɖoanyi .navƒe klass dzi, kpakple nɔnɔme siwo woama. Trɔ asi le tɔtrɔ ƒe hatsotsowo ŋu be nàtrɔ ɖe atsyã ɖesiaɖe dome.

Navs zazã na tab panels bia JavaScript tabs plugin

Le tab siwo me tabba ƒe teƒewo le gome la, ele be nàzã tab siwo nye JavaScript plugin . Dzesi la hã abia rolenɔnɔme bubuwo kple ARIA – kpɔ plugin ƒe kpɔɖeŋu dzesi hena numeɖeɖe bubuwo.

Na navs siwo wozãna abe mɔfiamewo ene la nanye esiwo ŋu woate ŋu aɖo

Ne èle navs zãm tsɔ le mɔfiame ƒe dzesi nam la, kpɔ egbɔ be yetsɔ a kpe role="navigation"ɖe dzila ƒe nugoe si me susu le wu ŋu le <ul>, alo xatsa nu <nav>aɖe ɖe mɔfiame bliboa ŋu. Mègatsɔ akpaa akpe ɖe <ul>eya ŋutɔ ŋu o, elabena esia axe mɔ na mɔ̃ɖaŋununya siwo kpena ɖe ame ŋu be woaɖe gbeƒãe be enye xexlẽdzesi ŋutɔŋutɔ o.

De dzesii be .nav-tabsklass la bia .navgɔmeɖoanyi ƒe klass la.

<ul class="nav nav-tabs">
  <li role="presentation" class="active"><a href="#">Home</a></li>
  <li role="presentation"><a href="#">Profile</a></li>
  <li role="presentation"><a href="#">Messages</a></li>
</ul>

Tsɔ HTML ma ke, gake zãe .nav-pillsboŋ:

<ul class="nav nav-pills">
  <li role="presentation" class="active"><a href="#">Home</a></li>
  <li role="presentation"><a href="#">Profile</a></li>
  <li role="presentation"><a href="#">Messages</a></li>
</ul>

Woate ŋu aƒo atikekuiwo hã nu ƒu ɖe wo nɔewo dzi le tsitrenu. Ðeko nàtsɔe akpe ɖe eŋu .nav-stacked.

<ul class="nav nav-pills nav-stacked">
  ...
</ul>

Na tab alo atikekuiwo nasɔ kple wo dzila ƒe kekeme bɔbɔe le screen siwo keke wu 768px kple .nav-justified. Le screen suewo dzi la, woƒoa nav kadodoawo nu ƒu ɖe wo nɔewo dzi.

Navbar nav kadodo siwo woɖo ɖi la mele dɔ wɔm fifia o.

Safari kple ŋuɖoɖo ƒe dzɔdzɔenyenye navs

Tso v9.1.2 dzi la, Safari ɖe vodada aɖe fia si me wò web-browser ƒe lolome tɔtrɔ le tsia dzi hea gɔmeɖeɖe ƒe vodadawo vɛ le nav si woɖo ɖi la me siwo woɖena ne wogbugbɔ trɔ asi le eŋu. Woɖe vodada sia hã fia le nav ƒe kpɔɖeŋu si woɖo ɖi la me .

<ul class="nav nav-tabs nav-justified">
  ...
</ul>
<ul class="nav nav-pills nav-justified">
  ...
</ul>

Le nav ƒe akpa ɖesiaɖe (tabs alo pills) gome la, tsɔ kpe ɖe eŋu .disabledna kadodo siwo le ɣie eye hover effects aɖeke meli o .

Kadodo ƒe dɔwɔwɔ mekpɔ ŋusẽ ɖe edzi o

Ðeko klass sia atrɔ <a>'s ƒe dzedzeme, ke menye eƒe dɔwɔwɔ o. Zã JavaScript si nèwɔ ɖe ɖoɖo nu nàtsɔ awɔ kadodowo ŋudɔ le afisia.

<ul class="nav nav-pills">
  ...
  <li role="presentation" class="disabled"><a href="#">Disabled link</a></li>
  ...
</ul>

Tsɔ nu siwo le tsia dzi kple HTML vi aɖe kpee kple JavaScript ƒe kpeɖeŋutɔ siwo le tsia dzi la kpe ɖe eŋu .

Tab siwo dzi woŋlɔ nu ɖo

<ul class="nav nav-tabs">
  ...
  <li role="presentation" class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
      Dropdown <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
      ...
    </ul>
  </li>
  ...
</ul>

Atikekui siwo me wotsɔa atikekuiwo ƒua gbe ɖo

<ul class="nav nav-pills">
  ...
  <li role="presentation" class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
      Dropdown <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
      ...
    </ul>
  </li>
  ...
</ul>

Navbar ƒe ŋkɔ

Navbars nye meta akpa siwo ɖoa nya ŋu siwo nyea mɔfiamewo ƒe tanyawo na wò dɔwɔɖoɖo alo nyatakakadzraɖoƒea. Wodzea egɔme dzea anyi (eye woate ŋu atrɔ wo) le asitelefon dzi nukpɔkpɔwo me eye wozua tsia dzi ne nukpɔkpɔ ƒe kekeme si li la le dzidzim ɖe edzi.

Navbar nav kadodo siwo woɖo ɖi la mele dɔ wɔm fifia o.

Nyatakaka siwo sɔ gbɔ ɖe eme

Esi Bootstrap menya teƒe agbɔsɔsɔme si nyatakaka siwo le wò navbar me hiã o ta la, àte ŋu ado go nyawo le nyatakakawo babla ɖe fli evelia me ŋu. Be nàkpɔ esia gbɔ la, àte ŋu:

  1. Ðe navbar nuawo ƒe agbɔsɔsɔ alo kekeme dzi kpɔtɔ.
  2. Ɣla navbar ƒe nu aɖewo le screen ƒe lolome aɖewo me to utility class siwo ɖoa nya ŋu zazã me .
  3. Trɔ teƒe si wò navbar la trɔna le collapsed kple horizontal mode dome. Trɔ asi le @grid-float-breakpointtɔtrɔa ŋu alo nàtsɔ wò ŋutɔ wò media biabia akpe ɖe eŋu.

Ebia be nàzã JavaScript ƒe kpeɖeŋutɔ

Ne wotu JavaScript eye nukpɔkpɔa le kpuie ale gbegbe be navbar la nadze anyi la, manya wɔ be nàkeke navbar la ɖe enu ahakpɔ emenyawo le .navbar-collapse.

Navbar si ɖoa nya ŋu la bia be woatsɔ collapse plugin la ade wò Bootstrap ƒe tɔtrɔ yeyea me.

Trɔ asi le asitelefon ƒe navbar ƒe gbagbãƒe si mu la ŋu

Navbar la dzena ɖe eƒe asitelefon ƒe nukpɔkpɔ si le tsitrenu me ne nukpɔkpɔ ƒe ʋɔtrua le kpuie wu @grid-float-breakpoint, eye wòkekena ɖe eƒe nukpɔkpɔ si menye asitelefon o le tsia dzi me ne nukpɔkpɔa ƒe @grid-float-breakpointkekeme ya teti. Trɔ asi le tɔtrɔ sia ŋu le Less dzɔtsoƒe me be nàkpɔ ne navbar la dze anyi/keke ɖe enu. Asixɔxɔ si woɖo ɖi enye 768px("sue" alo "tablet" ƒe screen suetɔ kekeake).

Na navbarwo nanɔ bɔbɔe

Kpɔ egbɔ be yezã <nav>element aɖe alo, ne èle element si nye nusi bɔ wu abe a ene zãm la <div>, tsɔ a kpe role="navigation"ɖe navbar ɖesiaɖe ŋu be nàde dzesii tẽ be enye nuto si ɖe dzesi na kpekpeɖeŋu mɔ̃ɖaŋunuwo zãlawo.

<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">Brand</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
        <li><a href="#">Link</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">One more separated link</a></li>
          </ul>
        </li>
      </ul>
      <form class="navbar-form navbar-left">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search">
        </div>
        <button type="submit" class="btn btn-default">Submit</button>
      </form>
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#">Link</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

Tsɔ wò ŋutɔ wò nɔnɔmetata ɖɔ li navbar ƒe dzesi to nuŋɔŋlɔa ɖɔliɖɔli kple <img>. Esi wònye be the .navbar-brandla ŋutɔ ƒe padding kple kɔkɔme le esi ta la, ɖewohĩ ahiã be nàɖe asi le CSS aɖewo ŋu le wò nɔnɔmetata la nu.

<nav class="navbar navbar-default">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">
        <img alt="Brand" src="...">
      </a>
    </div>
  </div>
</nav>

Da agbalẽvia me nyawo ɖe eme .navbar-formhena tsitrenu ƒe ɖoɖo nyuitɔ kple nuwɔna si wogbã le nukpɔkpɔ ƒe ʋɔtru kpuiwo me. Zã ɖoɖowɔwɔ ƒe tiatiaawo nàtsɔ atso nya me le afisi wòle le navbar me nyawo me ŋu.

Abe ta ɖe dzi ene la, .navbar-formma eƒe code ƒe akpa gãtɔ kple .form-inlinevia mixin. Kpeɖodzinu aɖewo, abe nyawo tsɔtsɔ de eme ƒe ƒuƒoƒowo ene, ateŋu abia be woaɖe kekeme siwo woɖo ɖi la afia nyuie le navbar me.

<form class="navbar-form navbar-left" role="search">
  <div class="form-group">
    <input type="text" class="form-control" placeholder="Search">
  </div>
  <button type="submit" class="btn btn-default">Submit</button>
</form>

Asitelefon dzi nuxlɔ̃amewo

Nuxlɔ̃ame aɖewo li ku ɖe nuŋlɔɖiwo dzi kpɔkpɔ zazã le nusiwo woɖo ɖi me le asitelefonwo dzi ŋu. Kpɔ míaƒe browser support docs hena numeɖeɖe bubuwo.

Tsɔ dzesidewo kpee ɣesiaɣi

Screen readers akpɔ kuxi le wò agbalẽviwo ŋu ne mède dzesidenu ɖesiaɖe si nèŋlɔ la ŋu o. Le agbalẽvi siawo siwo le fli me gome la, àte ŋu aɣla dzesideawo to .sr-onlyklass la zazã me. Mɔnu bubuwo li siwo dzi woato ana dzeside na mɔ̃ɖaŋununya siwo kpena ɖe ame ŋu, abe aria-label, aria-labelledbyalo titlenɔnɔme ene. Ne esiawo dometɔ aɖeke mele eme o la, screen readers ate ŋu azã placeholdernɔnɔmea, ne ele eme, gake de dzesii be placeholderwomeɖo aɖaŋu be woazãe atsɔ aɖo dzesidemɔnu bubuwo teƒe o.

Tsɔ .navbar-btnklass la kpe ɖe <button>elements siwo mele a me o <form>ŋu be nàde titina le tsitrenu le navbar la me.

<button type="button" class="btn btn-default navbar-btn">Sign in</button>

Nya siwo ƒo xlãe zazã koŋ

Abe standard button classes , .navbar-btnwoateŋu azã le <a>kple <input>elements. Gake .navbar-btnmele be woazã alo abɔta ƒe hatsotso siwo wozãna ɖaa la ɖe <a>nusiwo le .navbar-nav.

Kpe nuŋɔŋlɔ ƒe kawo ɖe element aɖe me kple .navbar-text, zi geɖe la, ɖe <p>dzesidenu dzi hena ŋgɔdonya kple amadede nyuitɔ.

<p class="navbar-text">Signed in as Mark Otto</p>

Le folks zãa standard links siwo mele regular navbar navigation component me o la, zã .navbar-linkklass la tsɔ kpe ɖe amadede siwo sɔ ŋu na default kple inverse navbar tiatiaawo.

<p class="navbar-text navbar-right">Signed in as <a href="#" class="navbar-link">Mark Otto</a></p>

Ðo nav kadodowo, agbalẽviwo, abɔtawo, alo nuŋɔŋlɔwo ɖe ɖoɖo nu, to .navbar-leftalo .navbar-rightdɔwɔnu ƒe klasswo zazã me. Klass eveawo siaa atsɔ CSS float akpe ɖe eŋu le mɔ si woɖo la nu. Le kpɔɖeŋu me, be nàɖo nav kadodowo ɖe ɖoɖo nu la, tsɔ wo de vovototo <ul>me kple utility class si wozã.

Klass siawo nye mixin-ed versions of .pull-leftand .pull-right, gake wole scoped na media biabia hena navbar ƒe akpawo gbɔ kpɔkpɔ bɔbɔe le mɔ̃ ƒe lolomewo katã me.

Akpa geɖe ƒe ɖoɖowɔwɔ ɖe ɖoɖo nu le ɖusime

Navbars ƒe seɖoƒe li fifia kple .navbar-rightklass geɖewo. Be míate ŋu ade vovototo emenyawo me nyuie la, míezãa margin negative ɖe .navbar-rightelement mamlɛtɔa dzi. Ne nu geɖewo li siwo zãa klass ma la, margin siawo mewɔa dɔ abe alesi woɖoe ene o.

Míagbugbɔ ŋku alé ɖe esia ŋu ne míete ŋu gbugbɔ ŋlɔ akpa ma le v4 me.

Tsɔ alo kpe ɖe titina kple pad navbar me nyawo ŋu eye nàde wo eme .navbar-fixed-top..container.container-fluid

<nav class="navbar navbar-default navbar-fixed-top">
  <div class="container">
    ...
  </div>
</nav>

Ŋutilã ƒe nutrenu hiã

Navbar si woɖo ɖi la atsyɔ wò nyatakaka bubuawo dzi, negbe ɖe nètsɔe kpe paddingɖe <body>. Te wò ŋutɔ wò dzidzenuwo kpɔ alo zã míaƒe akpa aɖe si le ete. Kpekpeɖeŋu: Le gɔmedzedzea me la, navbar la ƒe kɔkɔme nye 50px.

body { padding-top: 70px; }

Kpɔ egbɔ be yede esia eme le Bootstrap CSS vevi la megbe.

Tsɔ alo kpe ɖe titina kple pad navbar me nyawo ŋu eye nàde wo eme .navbar-fixed-bottom..container.container-fluid

<nav class="navbar navbar-default navbar-fixed-bottom">
  <div class="container">
    ...
  </div>
</nav>

Ŋutilã ƒe nutrenu hiã

Navbar si woɖo ɖi la atsyɔ wò nyatakaka bubuawo dzi, negbe ɖe nètsɔe kpe paddingɖe <body>. Te wò ŋutɔ wò dzidzenuwo kpɔ alo zã míaƒe akpa aɖe si le ete. Kpekpeɖeŋu: Le gɔmedzedzea me la, navbar la ƒe kɔkɔme nye 50px.

body { padding-bottom: 70px; }

Kpɔ egbɔ be yede esia eme le Bootstrap CSS vevi la megbe.

Wɔ navbar si keke blibo si aʋu kple axaa to alo to titina kple pad navbar me nyawo tsɔtsɔ kpee .navbar-static-topkple wo dede eme me..container.container-fluid

To vovo na .navbar-fixed-*klassawo la, mehiã be nàtrɔ padding aɖeke le body.

<nav class="navbar navbar-default navbar-static-top">
  <div class="container">
    ...
  </div>
</nav>

Trɔ asi le navbar la ƒe dzedzeme ŋu to .navbar-inverse.

<nav class="navbar navbar-inverse">
  ...
</nav>

Abolomegbawo

Fia afi si axa si li fifia le le mɔfiamewo ƒe ɖoɖo aɖe me.

Wotsɔa mamalawo kpena ɖe wo nɔewo ŋu le CSS me to :beforekple content.

<ol class="breadcrumb">
  <li><a href="#">Home</a></li>
  <li><a href="#">Library</a></li>
  <li class="active">Data</li>
</ol>

Axawo dzi nɔnɔ

Na axawo ƒe kadodowo na wò nyatakakadzraɖoƒea alo dɔwɔnua kple axa geɖe ƒe axawo ƒe akpaa, alo pager ƒe mɔnu si le bɔbɔe wu .

Axawo ƒe ɖoɖo si woɖo ɖi

Axa bɔbɔe siwo tso Rdio gbɔ, enyo ŋutɔ na dɔwɔɖoɖowo kple numekuku me tsonu. Block gã la sesẽ be woato eŋu, woate ŋu atrɔ asi le eŋu bɔbɔe, eye wònaa teƒe gã siwo woate ŋu akli nu le.

<nav aria-label="Page navigation">
  <ul class="pagination">
    <li>
      <a href="#" aria-label="Previous">
        <span aria-hidden="true">&laquo;</span>
      </a>
    </li>
    <li><a href="#">1</a></li>
    <li><a href="#">2</a></li>
    <li><a href="#">3</a></li>
    <li><a href="#">4</a></li>
    <li><a href="#">5</a></li>
    <li>
      <a href="#" aria-label="Next">
        <span aria-hidden="true">&raquo;</span>
      </a>
    </li>
  </ul>
</nav>

Dede dzesi axadzinuŋɔŋlɔ ƒe akpaa

Ele be woaxatsa axadzinɔnɔ ƒe akpaa ɖe <nav>akpa aɖe me be wòade dzesii be enye mɔfianu ƒe akpa si dzi woato akpɔ nuxlẽlawo kple mɔ̃ɖaŋununya bubu siwo akpe ɖe ame ŋu. Tsɔ kpe ɖe eŋu la, esi wònye be anɔ eme be axa aɖe ƒe akpa mawo ƒe mɔfiamewo ƒe akpa siwo wu ɖeka anɔ anyi xoxo (abe mɔfiame gbãtɔ si le tanya la me, alo axadzinuŋɔŋlɔ) ene la, anyo be nàna numeɖeɖe aɖe aria-labelna <nav>esi ɖe eƒe taɖodzinu fia. Le kpɔɖeŋu me, ne wozã axadzinɔnɔ ƒe akpaa tsɔ zɔ mɔ le nyatakaka siwo nèdi ƒe hatsotso aɖe dome la, ŋkɔ si sɔ ate ŋu anye aria-label="Search results pages".

Nuwɔametɔwo kple nɔnɔme siwo le dɔ wɔm

Woate ŋu atrɔ asi le kadodowo ŋu na nɔnɔme vovovowo. Zãe .disabledna kadodo siwo dzi màte ŋu azi o eye .activenàtsɔ afia axa si dzi nèle fifia.

<nav aria-label="...">
  <ul class="pagination">
    <li class="disabled"><a href="#" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>
    <li class="active"><a href="#">1 <span class="sr-only">(current)</span></a></li>
    ...
  </ul>
</nav>

Míele aɖaŋu ɖom be nàɖɔli seke siwo le dɔ wɔm alo esiwo mewɔ dɔ o la ɖe <span>, alo nàɖe sekea ɖa le aŋutrɔ siwo do ŋgɔ/si kplɔe ɖo gome, be nàɖe asiƒoƒo ƒe dɔwɔwɔ ɖa esime nèlé atsyã siwo nèɖo la me ɖe asi.

<nav aria-label="...">
  <ul class="pagination">
    <li class="disabled">
      <span>
        <span aria-hidden="true">&laquo;</span>
      </span>
    </li>
    <li class="active">
      <span>1 <span class="sr-only">(current)</span></span>
    </li>
    ...
  </ul>
</nav>

Sizing ƒe lolome

Axa siwo lolo wu alo esiwo le sue wu la dze ŋuwòa? Tsɔe kpe ɖe eŋu .pagination-lgalo .pagination-smna lolome bubuwo.

<nav aria-label="..."><ul class="pagination pagination-lg">...</ul></nav>
<nav aria-label="..."><ul class="pagination">...</ul></nav>
<nav aria-label="..."><ul class="pagination pagination-sm">...</ul></nav>

Pager ƒe nɔnɔmetata

Kadodo siwo do ŋgɔ kple esiwo kplɔe ɖo kabakaba na axadzinɔnɔ ƒe dɔwɔwɔ bɔbɔewo kple dzesidede kekeli kple atsyãwo. Enyo ŋutɔ na nyatakakadzraɖoƒe bɔbɔewo abe blogwo alo magazinewo ene.

Kpɔɖeŋu si woɖo ɖi

Le gɔmedzedzea me la, pager la tsɔa kadodowo ɖoa titina.

<nav aria-label="...">
  <ul class="pager">
    <li><a href="#">Previous</a></li>
    <li><a href="#">Next</a></li>
  </ul>
</nav>

Alo àte ŋu aɖo kadodo ɖesiaɖe ɖe axawo dzi:

<nav aria-label="...">
  <ul class="pager">
    <li class="previous"><a href="#"><span aria-hidden="true">&larr;</span> Older</a></li>
    <li class="next"><a href="#">Newer <span aria-hidden="true">&rarr;</span></a></li>
  </ul>
</nav>

Nɔnɔme si nye nuwɔametɔ si woate ŋu atia

Pager kadodowo hã zãa general .disabledutility class tso axadzinɔnɔ me.

<nav aria-label="...">
  <ul class="pager">
    <li class="previous disabled"><a href="#"><span aria-hidden="true">&larr;</span> Older</a></li>
    <li class="next"><a href="#">Newer <span aria-hidden="true">&rarr;</span></a></li>
  </ul>
</nav>

Ŋkɔwo ƒe ŋkɔwo

Kpɔɖeŋu

Kpɔɖeŋu ƒe tanya Yeye

Kpɔɖeŋu ƒe tanya Yeye

Kpɔɖeŋu ƒe tanya Yeye

Kpɔɖeŋu ƒe tanya Yeye

Kpɔɖeŋu ƒe tanya Yeye
Kpɔɖeŋu ƒe tanya Yeye
<h3>Example heading <span class="label label-default">New</span></h3>

Vovototo siwo li

Tsɔ tɔtrɔ ƒe hatsotso siwo míeyɔ ɖe ete la dometɔ aɖe kpe ɖe eŋu be nàtrɔ dzeside aɖe ƒe dzedzeme.

Default Gbãtɔ Dzidzedzekpɔkpɔ Nyatakaka Nuxlɔ̃ame Afɔku
<span class="label label-default">Default</span>
<span class="label label-primary">Primary</span>
<span class="label label-success">Success</span>
<span class="label label-info">Info</span>
<span class="label label-warning">Warning</span>
<span class="label label-danger">Danger</span>

Ðe dzesidenu tɔn geɖe le asiwòa?

Gbegɔmeɖeɖe ƒe kuxiwo ate ŋu ado mo ɖa ne nuŋɔŋlɔ gbogbo aɖewo le fli me le nugoe xaxɛ aɖe me, eye wo dometɔ ɖesiaɖe me eƒe inline-blockakpa aɖe le (abe nɔnɔmetata ene). Mɔ si dzi woato aƒo asa na esiae nye ɖoɖowɔwɔ display: inline-block;. Ne èdi nya siwo ƒo xlãe kple kpɔɖeŋu aɖe la, kpɔ #13219 .

Akɔtagbalẽviwo

Te gbe ɖe nu yeyewo alo nu siwo womexlẽ o dzi bɔbɔe to a tsɔtsɔ kpe <span class="badge">ɖe kadodowo, Bootstrap navs, kple bubuwo ŋu me.

<a href="#">Inbox <span class="badge">42</span></a>

<button class="btn btn-primary" type="button">
  Messages <span class="badge">4</span>
</button>

Ðokuidzidzedze

Ne nu yeye alo nu yeye aɖeke meli o la, ɖeko akɔtagbalẽviwo adze anyi (to CSS ƒe :emptytiatiawɔnu dzi) nenye be nya aɖeke mele eme o.

Cross-browser ƒe dɔwɔwɔ ɖekae

Akɔtagbalẽviwo madze wo ɖokui dzi le Internet Explorer 8 me o elabena kpekpeɖeŋu aɖeke mele esi na :emptytiatiawɔla la o.

Trɔna ɖe nav nɔnɔme siwo le dɔ wɔm ŋu

Wotsɔ atsyã siwo wotu ɖe eme la de eme hena akɔtagbalẽviwo dada ɖe nɔnɔme siwo le dɔ dzi me le atikekuiwo ƒe mɔfiamewo me.

<ul class="nav nav-pills" role="tablist">
  <li role="presentation" class="active"><a href="#">Home <span class="badge">42</span></a></li>
  <li role="presentation"><a href="#">Profile</a></li>
  <li role="presentation"><a href="#">Messages <span class="badge">3</span></a></li>
</ul>

Jumbotron ƒe ƒuƒoƒo

Akpa si le bɔbɔe, si te ŋu trɔna bɔbɔe, si ate ŋu akeke nukpɔkpɔ bliboa ɖe enu ne èdi be yeaɖe nu vevi siwo le wò nyatakakadzraɖoƒea afia.

Mido gbe nam, xexeame!

Esia nye kalẽtɔ ƒe akpa bɔbɔe aɖe, si nye jumbotron ƒe atsyã ƒe akpa bɔbɔe aɖe si wotsɔ hea susu yia nyatakaka alo nyatakaka siwo woɖe fia dzi geɖe wu.

Srɔ̃ nu geɖe tso eŋu

<div class="jumbotron">
  <h1>Hello, world!</h1>
  <p>...</p>
  <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p>
</div>

Be jumbotron la nakeke blibo, eye dzogoe siwo le goglo manɔmee la, dae ɖe .containers katã godo eye nàtsɔ eme akpe ɖe eŋu boŋ .container.

<div class="jumbotron">
  <div class="container">
    ...
  </div>
</div>

Axa ƒe tanya

Shell bɔbɔe aɖe na an h1be wòaɖe dometsotso si sɔ ɖe eme eye wòama emenyawo ƒe akpawo me le axa aɖe dzi. Ateŋu azã h1's default smallelement, kpakple akpa bubu akpa gãtɔ (kple atsyã bubuwo).

<div class="page-header">
  <h1>Example page header <small>Subtext for header</small></h1>
</div>

Nɔnɔmetata suewo

Keke Bootstrap ƒe grid ɖoɖoa ɖe enu kple nɔnɔmetata suewo ƒe akpaa be wòaɖe nɔnɔmetatawo, videowo, nuŋɔŋlɔwo, kple bubuwo ƒe gridwo afia bɔbɔe.

Ne èle nɔnɔmetata sue siwo ƒe kɔkɔme kple/alo kekeme le vovovo ƒe ɖeɖefia si le abe Pinterest ene dim la, ahiã be nàzã ame etɔ̃lia ƒe dɔwɔnu aɖe abe Masonry , Isotope , alo Salvattore ene.

Kpɔɖeŋu si woɖo ɖi

Le gɔmedzedzea me la, wowɔ Bootstrap ƒe nɔnɔmetata suewo be woaɖe nɔnɔmetata siwo do ƒome kple wo nɔewo afia kple dzesi suetɔ kekeake si hiã.

<div class="row">
  <div class="col-xs-6 col-md-3">
    <a href="#" class="thumbnail">
      <img src="..." alt="...">
    </a>
  </div>
  ...
</div>

Nyatakaka siwo wowɔ ɖe ɖoɖo nu

Ne ède dzesii vie la, àte ŋu atsɔ HTML me nyawo ƒomevi ɖesiaɖe abe tanyawo, memamawo, alo abɔtawo akpe ɖe nɔnɔmetata suewo ŋu.

100%x200 ƒe xexlẽme

Nɔnɔmetata suewo ƒe dzeside

Cras justo odio, dapibus ac facilisis le, egestas eget quam. Donec id elit non mi porta gravida le eget metus me. Nullam id dolor id nibh ultricies ʋuwo ut id elit.

Awunugbui Awunugbui

100%x200 ƒe xexlẽme

Nɔnɔmetata suewo ƒe dzeside

Cras justo odio, dapibus ac facilisis le, egestas eget quam. Donec id elit non mi porta gravida le eget metus me. Nullam id dolor id nibh ultricies ʋuwo ut id elit.

Awunugbui Awunugbui

100%x200 ƒe xexlẽme

Nɔnɔmetata suewo ƒe dzeside

Cras justo odio, dapibus ac facilisis le, egestas eget quam. Donec id elit non mi porta gravida le eget metus me. Nullam id dolor id nibh ultricies ʋuwo ut id elit.

Awunugbui Awunugbui

<div class="row">
  <div class="col-sm-6 col-md-4">
    <div class="thumbnail">
      <img src="..." alt="...">
      <div class="caption">
        <h3>Thumbnail label</h3>
        <p>...</p>
        <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
      </div>
    </div>
  </div>
</div>

Nuxlɔ̃amewo

Na nyaŋuɖoɖo ƒe gbedasi siwo ku ɖe nya siwo ƒo xlãe ŋu na zãla ƒe nuwɔna siwo bɔ kple nuxlɔ̃ame gbedasi ʋɛ siwo li eye woate ŋu atrɔ asi le wo ŋu.

Kpɔɖeŋuwo

Kpe nuŋɔŋlɔ ɖesiaɖe kple asiɖeɖe le nu ŋu ƒe abɔta si nàtia la ɖe .alertkple nya siwo ƒo xlãe ƒe hatsotso eneawo dometɔ ɖeka me (le kpɔɖeŋu me, .alert-success) na nuxlɔ̃ame gbedasi veviwo.

Klass aɖeke meli si woɖo ɖi o

Nuxlɔ̃amewo mekpɔa klass gbãtɔwo o, gɔmeɖoanyi kple tɔtrɔ ƒe hatsotsowo koe le wo si. Susu geɖe mele nuxlɔ̃ame ɣi si woɖo ɖi la me o, eyata wobia tso asiwò be nàgblɔ ƒomevi aɖe to nya siwo ƒo xlãe ƒe klass dzi. Tia dzidzedzekpɔkpɔ, nyatakaka, nuxlɔ̃ame, alo afɔku.

<div class="alert alert-success" role="alert">...</div>
<div class="alert alert-info" role="alert">...</div>
<div class="alert alert-warning" role="alert">...</div>
<div class="alert alert-danger" role="alert">...</div>

Nuxlɔ̃ame siwo woate ŋu agbe

Tu nuxlɔ̃ame ɖesiaɖe ɖo to .alert-dismissibleabɔta si nàte ŋu atia kple esi nàtu la tsɔtsɔ kpee me.

Ebia JavaScript ƒe nuxlɔ̃ame ƒe kpeɖeŋutɔ

Be nuxlɔ̃ame siwo woate ŋu agbe la nawɔ dɔ bliboe la, ele be nàzã nuxlɔ̃amewo ƒe JavaScript plugin .

<div class="alert alert-warning alert-dismissible" role="alert">
  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  <strong>Warning!</strong> Better check yourself, you're not looking too good.
</div>

Kpɔ egbɔ be wowɔ nu nyuie le mɔ̃wo katã dzi

Kpɔ egbɔ be yezã <button>element la kple data-dismiss="alert"data attribute la.

.alert-linkutility class la nàtsɔ ana kadodo siwo ƒe amadede sɔ kple wo nɔewo kaba le nuxlɔ̃ame ɖesiaɖe me.

<div class="alert alert-success" role="alert">
  <a href="#" class="alert-link">...</a>
</div>
<div class="alert alert-info" role="alert">
  <a href="#" class="alert-link">...</a>
</div>
<div class="alert alert-warning" role="alert">
  <a href="#" class="alert-link">...</a>
</div>
<div class="alert alert-danger" role="alert">
  <a href="#" class="alert-link">...</a>
</div>

Ŋgɔyiyi ƒe dzesiwo

Na nyatakaka yeyewo tso dɔwɔwɔ alo afɔɖeɖe aɖe ƒe ŋgɔyiyi ŋu kple ŋgɔyiyi ƒe dzesi bɔbɔe siwo te ŋu trɔna ɖe nɔnɔmewo ŋu.

Cross-browser ƒe dɔwɔwɔ ɖekae

Ŋgɔyiyi ƒe dzesiwo zãa CSS3 ƒe tɔtrɔwo kple nɔnɔmetatawo tsɔ ɖoa ​​woƒe ŋusẽkpɔɖeamedzi aɖewo gbɔ. Womewɔa dɔ siawo le Internet Explorer 9 kple esiwo le ete alo Firefox ƒe tata xoxowo me o. Opera 12 mewɔa dɔ le nɔnɔmetata siwo me woɖea nɔnɔmetatawo le ŋu o.

Emenyawo ƒe Dedienɔnɔ Ŋuti Ðoɖo (CSP) ƒe dɔwɔwɔ ɖekae

Ne Emenyawo Dedienɔnɔ Ŋuti Ðoɖo (CSP) le wò nyatakakadzraɖoƒea si meɖe mɔ ɖe eŋu o style-src 'unsafe-inline'la, ekema màte ŋu azã stylenɔnɔme siwo le fli me atsɔ aɖo ŋgɔyiyi ƒe fli ƒe kekeme abe alesi woɖee fia le míaƒe kpɔɖeŋu siwo le ete me ene o. Mɔnu bubu siwo dzi woato aɖo kekeme siwo sɔ kple CSP sesẽwo dometɔ aɖewoe nye JavaScript si wowɔ ɖe ɖoɖo nu vi aɖe zazã (si ɖoa element.style.width) alo CSS ƒe hatsotso tɔxɛwo zazã.

Kpɔɖeŋu vevi aɖe

Ŋgɔyiyi ƒe dzesi si woɖo ɖi.

60% Wu enu
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
    <span class="sr-only">60% Complete</span>
  </div>
</div>

Kple dzesidenu

Ðe <span>with .sr-onlyƒe klass la ɖa le ŋgɔyiyi ƒe dzesi la me be nàɖe alafa memamã si woate ŋu akpɔ la afia.

60% ƒe .
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
    60%
  </div>
</div>

Be nàkpɔ egbɔ be nuŋɔŋlɔa ƒe nuŋɔŋlɔa gakpɔtɔ nye nusi woate ŋu axlẽ le alafa memamã suewo gɔ̃ hã me la, bu a tsɔtsɔ kpe min-widthɖe ŋgɔyiyi ƒe dzesi ŋu ŋu.

0% .
2% .
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em;">
    0%
  </div>
</div>
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em; width: 2%;">
    2%
  </div>
</div>

Nya siwo ƒo xlãe ƒe mɔnu bubuwo

Ŋgɔyiyi ƒe dzesiwo zãa abɔta kple nuxlɔ̃ame ƒe klass ɖeka mawo ke dometɔ aɖewo hena atsyã siwo mewɔa tɔtrɔ o.

40% Wu enu (dzidzedzekpɔkpɔ) .
20% Wu enu
60% Wu (nuxlɔ̃ame) .
80% Blibo (afɔku) .
<div class="progress">
  <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
    <span class="sr-only">40% Complete (success)</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
    <span class="sr-only">20% Complete</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
    <span class="sr-only">60% Complete (warning)</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
    <span class="sr-only">80% Complete (danger)</span>
  </div>
</div>

Ʋuʋudediwo le eŋu

Zãa gradient tsɔ wɔa striped effect. Mele IE9 kple esiwo le ete me o.

40% Wu enu (dzidzedzekpɔkpɔ) .
20% Wu enu
60% Wu (nuxlɔ̃ame) .
80% Blibo (afɔku) .
<div class="progress">
  <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
    <span class="sr-only">40% Complete (success)</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
    <span class="sr-only">20% Complete</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
    <span class="sr-only">60% Complete (warning)</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-danger progress-bar-striped" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
    <span class="sr-only">80% Complete (danger)</span>
  </div>
</div>

Animaɖenuŋu

Tsɔ kpe .activeɖe eŋu .progress-bar-stripedbe nàna fliawo nawɔ dɔ le ɖusime yi miame. Mele IE9 kple esiwo le ete me o.

45% Wu enu
<div class="progress">
  <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%">
    <span class="sr-only">45% Complete</span>
  </div>
</div>

Woƒo wo nu ƒu ɖe wo nɔewo dzi

De ʋuƒo geɖe ɖe ɖeka me .progressbe nàƒo wo nu ƒu ɖe wo nɔewo dzi.

35% Wu enu (dzidzedzekpɔkpɔ) .
20% Wu (nuxlɔ̃ame) .
10% Blibo (afɔku) .
<div class="progress">
  <div class="progress-bar progress-bar-success" style="width: 35%">
    <span class="sr-only">35% Complete (success)</span>
  </div>
  <div class="progress-bar progress-bar-warning progress-bar-striped" style="width: 20%">
    <span class="sr-only">20% Complete (warning)</span>
  </div>
  <div class="progress-bar progress-bar-danger" style="width: 10%">
    <span class="sr-only">10% Complete (danger)</span>
  </div>
</div>

Nyadzɔdzɔgblɔmɔnuwo ƒe nu

Abstract object styles hena akpa vovovowo tutu (abe blog comments, Tweets, etc) siwo ɖea nɔnɔmetata si woɖo ɖe miame alo ɖusime ɖe nuŋɔŋlɔ me nyawo xa.

Media siwo woɖo ɖi

Media si woɖo ɖi la ɖea media nu aɖe (nɔnɔmetatawo, video, odio) fiana le emenyawo ƒe mɔxenu ƒe miame alo ɖusime.

Nyadzɔdzɔgblɔmɔnuwo ƒe tanya

Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis. Fusce condimentum nunc ac nisi ƒe ƒunukpeƒe ƒe lãkusi. Donec lacinia congue felis le lãgbalẽgolo me.

Nyadzɔdzɔgblɔmɔnuwo ƒe tanya

Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis. Fusce condimentum nunc ac nisi ƒe ƒunukpeƒe ƒe lãkusi. Donec lacinia congue felis le lãgbalẽgolo me.

Nested media ƒe tanya

Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis. Fusce condimentum nunc ac nisi ƒe ƒunukpeƒe ƒe lãkusi. Donec lacinia congue felis le lãgbalẽgolo me.

Nyadzɔdzɔgblɔmɔnuwo ƒe tanya

Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis.

Nyadzɔdzɔgblɔmɔnuwo ƒe tanya

Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis.
<div class="media">
  <div class="media-left">
    <a href="#">
      <img class="media-object" src="..." alt="...">
    </a>
  </div>
  <div class="media-body">
    <h4 class="media-heading">Media heading</h4>
    ...
  </div>
</div>

Klasawo .pull-leftkple .pull-righthã li eye wozã wo tsã abe nyadzɔdzɔgblɔmɔnuwo ƒe akpa aɖe ene, gake woɖe asi le wo ŋu na zazã ma tso v3.3.0 dzi. Wosɔ kple .media-leftkple .media-right, negbe ɖe .media-rightwòle be woatsɔe ade megbe .media-bodyle html la me ko.

Nyadzɔdzɔgblɔmɔnuwo ƒe ɖoɖowɔwɔ ɖe ɖoɖo nu

Woate ŋu aɖo nɔnɔmetataawo alo nyatakakadzraɖoƒe bubuwo ɖe ɖoɖo nu le etame, titina, alo ete. Nusi woɖo ɖi la nye esi woɖo ɖe ɖoɖo nu le etame.

Media siwo woɖo ɖe ɖoɖo nu le etame

Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis. Fusce condimentum nunc ac nisi ƒe ƒunukpeƒe ƒe lãkusi. Donec lacinia congue felis le lãgbalẽgolo me.

Donec sed odio dui. Nullam quis risus eget urna mollis ƒe atsyɔ̃ɖoɖo vel eu leo. Cum sociis natoque penatibus kple vidzidzi ƒe mɔ̃ gãwo, nascetur ridiculus mus.

Nyadzɔdzɔgblɔmɔnuwo siwo le titina

Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis. Fusce condimentum nunc ac nisi ƒe ƒunukpeƒe ƒe lãkusi. Donec lacinia congue felis le lãgbalẽgolo me.

Donec sed odio dui. Nullam quis risus eget urna mollis ƒe atsyɔ̃ɖoɖo vel eu leo. Cum sociis natoque penatibus kple vidzidzi ƒe mɔ̃ gãwo, nascetur ridiculus mus.

Media siwo woɖo ɖe ɖoɖo nu le ete

Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis. Fusce condimentum nunc ac nisi ƒe ƒunukpeƒe ƒe lãkusi. Donec lacinia congue felis le lãgbalẽgolo me.

Donec sed odio dui. Nullam quis risus eget urna mollis ƒe atsyɔ̃ɖoɖo vel eu leo. Cum sociis natoque penatibus kple vidzidzi ƒe mɔ̃ gãwo, nascetur ridiculus mus.

<div class="media">
  <div class="media-left media-middle">
    <a href="#">
      <img class="media-object" src="..." alt="...">
    </a>
  </div>
  <div class="media-body">
    <h4 class="media-heading">Middle aligned media</h4>
    ...
  </div>
</div>

Nyadzɔdzɔgblɔmɔnuwo ƒe xexlẽdzesiwo

Ne èwɔ dzesidede vi aɖe kpee la, àteŋu azã media le xexlẽdzesiwo me (eɖea vi na nyaŋuɖoɖo ƒe ka alo nyatiwo ƒe xexlẽdzesiwo).

  • Nyadzɔdzɔgblɔmɔnuwo ƒe tanya

    Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis.

    Nested media ƒe tanya

    Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis.

    Nested media ƒe tanya

    Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis.

    Nested media ƒe tanya

    Cras nɔ anyi amet nibh libero, le gravida nulla me. Nulla vel metus scelerisque do ŋgɔ na nusiwo wotsɔna dzraa nu ɖo. Cras purus odio, vestibulum le akɔta le, tempus viverra turpis.
<ul class="media-list">
  <li class="media">
    <div class="media-left">
      <a href="#">
        <img class="media-object" src="..." alt="...">
      </a>
    </div>
    <div class="media-body">
      <h4 class="media-heading">Media heading</h4>
      ...
    </div>
  </li>
</ul>

Ŋlɔ ƒuƒoƒoa ɖi

Ŋkɔwo ƒe ƒuƒoƒowo nye akpa si te ŋu trɔna eye ŋusẽ le eŋu hena menye nuawo ƒe xexlẽdzesi bɔbɔewo ɖeɖeko ɖeɖefia o, ke boŋ esiwo gɔme sese sesẽ siwo me nya siwo wowɔ ɖe ɖoɖo nu le.

Kpɔɖeŋu vevi aɖe

xexlẽdzesiwo ƒe ƒuƒoƒo vevitɔ kekeake koe nye xexlẽdzesi siwo womeɖo ɖe ɖoɖo nu o kple xexlẽdzesiwo ƒe nuawo, kple klass siwo sɔ. Tu ɖe edzi kple tiatia siwo kplɔe ɖo, alo wò ŋutɔ wò CSS ne ehiã.

  • Cras justo odio ƒe nyawo
  • Dapibus ac ƒe dɔwɔƒe le
  • Morbi leo ƒe ƒuƒoƒo
  • Porta ac ƒe ƒuƒoƒo ac
  • Vestibulum le eros dzi
<ul class="list-group">
  <li class="list-group-item">Cras justo odio</li>
  <li class="list-group-item">Dapibus ac facilisis in</li>
  <li class="list-group-item">Morbi leo risus</li>
  <li class="list-group-item">Porta ac consectetur ac</li>
  <li class="list-group-item">Vestibulum at eros</li>
</ul>

Akɔtagbalẽviwo

Tsɔ badges ƒe akpaa kpe ɖe xexlẽdzesiwo ƒe ƒuƒoƒo ƒe nu ɖesiaɖe ŋu eye wòanɔ eɖokui si le ɖusime.

  • 14Cras justo odio ƒe nyawo
  • 2.Dapibus ac ƒe dɔwɔƒe le
  • 1. 1.Morbi leo ƒe ƒuƒoƒo
<ul class="list-group">
  <li class="list-group-item">
    <span class="badge">14</span>
    Cras justo odio
  </li>
</ul>

Nusiwo do ƒome kple wo nɔewo

Do ƒome kple xexlẽdzesiwo ƒe ƒuƒoƒo ƒe nuawo to seke ƒe dzesiwo zazã ɖe xexlẽdzesiwo ƒe nuawo teƒe (ema hã fia dzila ɖe xexlẽdzesi <div>teƒe <ul>). Mehiã be dzila ɖekaɖekawo naƒo xlã akpa ɖesiaɖe o.

<div class="list-group">
  <a href="#" class="list-group-item active">
    Cras justo odio
  </a>
  <a href="#" class="list-group-item">Dapibus ac facilisis in</a>
  <a href="#" class="list-group-item">Morbi leo risus</a>
  <a href="#" class="list-group-item">Porta ac consectetur ac</a>
  <a href="#" class="list-group-item">Vestibulum at eros</a>
</div>

Nu siwo le abɔta

Ŋlɔ ƒuƒoƒo me nuawo ate ŋu anye abɔtawo ɖe xexlẽdzesiwo teƒe (ema hã fia dzila ɖe xexlẽdzesi <div>teƒe <ul>). Mehiã be dzila ɖekaɖekawo naƒo xlã akpa ɖesiaɖe o. Mègazã .btnklass siwo wozãna ɖaa le afisia o.

<div class="list-group">
  <button type="button" class="list-group-item">Cras justo odio</button>
  <button type="button" class="list-group-item">Dapibus ac facilisis in</button>
  <button type="button" class="list-group-item">Morbi leo risus</button>
  <button type="button" class="list-group-item">Porta ac consectetur ac</button>
  <button type="button" class="list-group-item">Vestibulum at eros</button>
</div>

Nu siwo wowɔ nuwɔametɔwoe

Tsɔe kpe .disabledɖe a .list-group-itemŋu be wòazu ɣie be wòadze abe nuwɔametɔ ene.

<div class="list-group">
  <a href="#" class="list-group-item disabled">
    Cras justo odio
  </a>
  <a href="#" class="list-group-item">Dapibus ac facilisis in</a>
  <a href="#" class="list-group-item">Morbi leo risus</a>
  <a href="#" class="list-group-item">Porta ac consectetur ac</a>
  <a href="#" class="list-group-item">Vestibulum at eros</a>
</div>

Klass siwo ku ɖe nya siwo ƒo xlãe ŋu

Zã nya siwo ƒo xlãe ƒe klasswo nàtsɔ awɔ atsyã ŋlɔ nuawo, default alo linked. .activeDukɔa hã le eme .

  • Dapibus ac ƒe dɔwɔƒe le
  • Cras nɔ anyi amet nibh libero
  • Porta ac ƒe ƒuƒoƒo ac
  • Vestibulum le eros dzi
<ul class="list-group">
  <li class="list-group-item list-group-item-success">Dapibus ac facilisis in</li>
  <li class="list-group-item list-group-item-info">Cras sit amet nibh libero</li>
  <li class="list-group-item list-group-item-warning">Porta ac consectetur ac</li>
  <li class="list-group-item list-group-item-danger">Vestibulum at eros</li>
</ul>
<div class="list-group">
  <a href="#" class="list-group-item list-group-item-success">Dapibus ac facilisis in</a>
  <a href="#" class="list-group-item list-group-item-info">Cras sit amet nibh libero</a>
  <a href="#" class="list-group-item list-group-item-warning">Porta ac consectetur ac</a>
  <a href="#" class="list-group-item list-group-item-danger">Vestibulum at eros</a>
</div>

Nyatakaka siwo wowɔ ɖe ɖoɖo nu

Tsɔ HTML ɖesiaɖe kloe kpe ɖe eŋu le eme, na xexlẽdzesiwo ƒe ƒuƒoƒo siwo do ƒome kplii abe esi le ete ene gɔ̃ hã.

<div class="list-group">
  <a href="#" class="list-group-item active">
    <h4 class="list-group-item-heading">List group item heading</h4>
    <p class="list-group-item-text">...</p>
  </a>
</div>

Panelwo ƒe akpawo

Togbɔ be mehiã ɣesiaɣi o hã la, ɣeaɖewoɣi la, ahiã be nàtsɔ wò DOM ade aɖaka me. Le nɔnɔme mawo gome la, te panel ƒe akpaa kpɔ.

Kpɔɖeŋu vevi aɖe

Le gɔmedzedzea me la, nusi .panelwòwɔna koe nye be woawɔ liƒo kple padding vevi aɖewo ŋudɔ be emenyawo nanɔ eme.

Basic panel ƒe kpɔɖeŋu
<div class="panel panel-default">
  <div class="panel-body">
    Basic panel example
  </div>
</div>

Panel si me tanya le

Tsɔ tanya ƒe nugoe kpe ɖe wò panel ŋu bɔbɔe kple .panel-heading. Àteŋu ade ɖesiaɖe hã eme <h1>- <h6>kple .panel-titleklass be nàtsɔ tanya si wowɔ do ŋgɔ akpe ɖe eŋu. Gake <h1>wotsɔ . <h6>_.panel-heading

Be nàde ama kadodowo nyuie la, kpɔ egbɔ be yeda kadodowo tanyawo me le .panel-title.

Panel ƒe tanya si me tanya mele o
Panel me nyawo

Panel ƒe tanya

Panel me nyawo
<div class="panel panel-default">
  <div class="panel-heading">Panel heading without title</div>
  <div class="panel-body">
    Panel content
  </div>
</div>

<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">Panel title</h3>
  </div>
  <div class="panel-body">
    Panel content
  </div>
</div>

Kpe abɔtawo alo nuŋɔŋlɔ evelia ɖe .panel-footer. De dzesii be panel footers menyi amadedewo kple liƒowo dome ne wole nya siwo ƒo xlãe ƒe tɔtrɔwo zãm o elabena womeɖoe be woanɔ ŋgɔgbe o.

Panel me nyawo
<div class="panel panel-default">
  <div class="panel-body">
    Panel content
  </div>
  <div class="panel-footer">Panel footer</div>
</div>

Nya siwo ƒo xlãe ƒe mɔnu bubuwo

Abe akpa bubuwo ene la, na gɔmesese nanɔ akpa aɖe ŋu bɔbɔe na nya siwo ƒo xlãe aɖe koŋ to nya siwo ƒo xlãe ƒe nɔnɔme ƒe hatsotsoawo dometɔ ɖesiaɖe tsɔtsɔ kpee me.

Panel ƒe tanya

Panel me nyawo

Panel ƒe tanya

Panel me nyawo

Panel ƒe tanya

Panel me nyawo

Panel ƒe tanya

Panel me nyawo

Panel ƒe tanya

Panel me nyawo
<div class="panel panel-primary">...</div>
<div class="panel panel-success">...</div>
<div class="panel panel-info">...</div>
<div class="panel panel-warning">...</div>
<div class="panel panel-danger">...</div>

Kple kplɔ̃wo

Tsɔ nusianu si me liƒo mele o kpe ɖe .tableakpa aɖe ŋu hena atsyã si me kuxi aɖeke mele o. Ne , li la .panel-body, míetsɔa liƒo bubu kpena ɖe kplɔ̃a tame hena mama.

Panel ƒe tanya

Panel me nya aɖewo siwo woɖo ɖi le afisia. Nulla vitae elit libero, si nye lãgbalẽ si nye augue. Aenean lacinia bibendum ƒe ƒuƒoƒo si me womewɔ naneke le o. Aenean ƒe eu leo ​​quam. Atsyɔ̃ɖoɖo si le abe ƒuƒuiƒe ene la nye lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies ʋuwo ut id elit.

# . Ŋkɔ gbãtɔ Ƒome ŋkɔ Zãla ƒe ŋkɔ
1. 1. Marko Otto ƒe nyawo @mdo dzi
2. Yakob Thornton ƒe ŋkɔ @da ami
3. Larry ye nye esia Xe lae @twitter dzi
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">Panel heading</div>
  <div class="panel-body">
    <p>...</p>
  </div>

  <!-- Table -->
  <table class="table">
    ...
  </table>
</div>

Ne panel ƒe ŋutilã aɖeke meli o la, akpaa ʋuna tso panel ƒe ta dzi yia kplɔ̃ dzi madzudzɔmadzudzɔe.

Panel ƒe tanya
# . Ŋkɔ gbãtɔ Ƒome ŋkɔ Zãla ƒe ŋkɔ
1. 1. Marko Otto ƒe nyawo @mdo dzi
2. Yakob Thornton ƒe ŋkɔ @da ami
3. Larry ye nye esia Xe lae @twitter dzi
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">Panel heading</div>

  <!-- Table -->
  <table class="table">
    ...
  </table>
</div>

Kple xexlẽdzesiwo ƒe ƒuƒoƒowo

De xexlẽdzesiwo ƒe ƒuƒoƒo siwo keke blibo me bɔbɔe le akpa ɖesiaɖe me.

Panel ƒe tanya

Panel me nya aɖewo siwo woɖo ɖi le afisia. Nulla vitae elit libero, si nye lãgbalẽ si nye augue. Aenean lacinia bibendum ƒe ƒuƒoƒo si me womewɔ naneke le o. Aenean ƒe eu leo ​​quam. Atsyɔ̃ɖoɖo si le abe ƒuƒuiƒe ene la nye lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies ʋuwo ut id elit.

  • Cras justo odio ƒe nyawo
  • Dapibus ac ƒe dɔwɔƒe le
  • Morbi leo ƒe ƒuƒoƒo
  • Porta ac ƒe ƒuƒoƒo ac
  • Vestibulum le eros dzi
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">Panel heading</div>
  <div class="panel-body">
    <p>...</p>
  </div>

  <!-- List group -->
  <ul class="list-group">
    <li class="list-group-item">Cras justo odio</li>
    <li class="list-group-item">Dapibus ac facilisis in</li>
    <li class="list-group-item">Morbi leo risus</li>
    <li class="list-group-item">Porta ac consectetur ac</li>
    <li class="list-group-item">Vestibulum at eros</li>
  </ul>
</div>

Embed si ɖoa nya ŋu

Na web-browserwo nanɔ te ɖe woƒe block si me wole ƒe kekeme dzi anya video alo slideshow ƒe didimewo to intrinsic ratio si adzidze nyuie le mɔ̃ ɖesiaɖe dzi la wɔwɔ me.

Wozãa sewo ɖe <iframe>, <embed>, <video>, kple <object>nu veviwo ŋu tẽ; ne èdi la, zã dzidzimevi ƒe hatsotso si me kɔ .embed-responsive-itemne èdi be yeawɔ ɖeka kple atsyã na nɔnɔme bubuwo.

Pro-Aɖaŋuɖoɖo! Mehiã be nàde frameborder="0"<iframe>s me esi míeɖea ema ɖa na wò o.

<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

<!-- 4:3 aspect ratio -->
<div class="embed-responsive embed-responsive-4by3">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

Vudowo

Default nyuie

Zã vudoa abe ŋusẽkpɔɖeamedzi bɔbɔe aɖe ɖe nu vevi aɖe dzi ene be wòana wòakpɔ ŋusẽ ɖe nusi wotsɔ de eme dzi.

Kpɔ ɖa, vudo aɖe mee mele!
<div class="well">...</div>

Klass siwo woate ŋu awɔ le wo ɖokui si

Dziɖuɖu padding kple dzogoe goglowo kple eve tiatia modifier klass.

Kpɔ ɖa, vudo gã aɖe mee mele!
<div class="well well-lg">...</div>
Kpɔ ɖa, vudo sue aɖe mee mele!
<div class="well well-sm">...</div>