Glyphicons (Glifikanw).

Glife minnu bɛ sɔrɔ

Glyph 250 ni kɔ bɛ a kɔnɔ sɛbɛnnibolo cogo la ka bɔ Glyphicon Halflings set kɔnɔ. Glyphicons Halflings (Glyphicons Halflings) tɛ Sɔrɔ fu la cogoya la, nka u dabɔbaa y’u Kɛ Bootstrap ye fu. Barika la, an b’a ɲini dɔrɔn aw ka ladɛrɛsi dɔ don a kɔnɔ ka segin Glyphicons kan ni a bɛ se ka kɛ tuma o tuma.

  • glyphicon glyphicon-dolow ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-plus (Glifikɔni) ka fara a kan
  • glyphicon glyphicon-euro ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-eur ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-minus (fɔlikan) ye
  • glyphicon glyphicon-sankaba
  • glyphicon glyphicon-enveloppe ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-kɛrɛn ye
  • glyphicon glyphicon-gilasi ye
  • glyphicon glyphicon-fɔlikan
  • glyphicon glyphicon-ɲini
  • glyphicon glyphicon-dusukun
  • glyphicon glyphicon-dolow ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-dolow-lankolon
  • glyphicon glyphicon-baarakɛla
  • glyphicon glyphicon-filimu ye
  • glyphicon glyphicon-na-ba
  • glyphicon glyphicon-th ka bεnkansεbεn
  • glyphicon glyphicon-th-list ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-ok ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-ka bɔ
  • glyphicon glyphicon-ɲɛnajɛ-yɔrɔ
  • glyphicon glyphicon-yɔrɔ-ko-kɔrɔ-fɔli
  • glyphicon glyphicon-bɔlen don
  • glyphicon glyphicon-siginiden ye
  • glyphicon glyphicon-cog ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-nɔgɔbɔlan
  • glyphicon glyphicon-so kɔnɔ
  • glyphicon glyphicon-filen ye
  • glyphicon glyphicon-waati
  • glyphicon glyphicon-sira kan
  • glyphicon glyphicon-télécharger-alt.. Bamako, Mali
  • glyphicon glyphicon-télécharger
  • glyphicon glyphicon-upload ka baara ye
  • glyphicon glyphicon-inbox (sɛbɛn ɲɛnama)
  • glyphicon glyphicon-tulon-sɛrɛkili
  • glyphicon glyphicon-segin ka kɛ
  • glyphicon glyphicon-lafiɲɛbɔ
  • glyphicon glyphicon-list-alt ye fɛn ye min bɛ se ka kɛ fɛn ye
  • glyphicon glyphicon-lock ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-darapo ye
  • glyphicon glyphicon-kungolodilanw
  • glyphicon glyphicon-volume-bɔn
  • glyphicon glyphicon-volume-down
  • glyphicon glyphicon-volume-up ka bɔ
  • glyphicon glyphicon-qrcode ye fɛn ye min bɛ se ka kɛ
  • glyphicon glyphicon-barcode ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-tag ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-taamasiɲɛw
  • glyphicon glyphicon-gafe min bɛ wele ko glyphicon
  • glyphicon glyphicon-sɛbɛnni-sɛbɛn
  • glyphicon glyphicon-sɛbɛnni
  • glyphicon glyphicon-kamera min bɛ wele ko glyphicon
  • glyphicon glyphicon-sɛbɛnni-sɛbɛn
  • glyphicon glyphicon-bold (fɔlikan) ye
  • glyphicon glyphicon-italiki ye
  • glyphicon glyphicon-sɛbɛnni-janya
  • glyphicon glyphicon-sɛbɛnni-janya
  • glyphicon glyphicon-align-numan fɛ
  • glyphicon glyphicon-align-cɛmancɛ la
  • glyphicon glyphicon-align-niman fɛ
  • glyphicon glyphicon-align-justify ka ɲɛsin a ma
  • glyphicon glyphicon-list (sɛbɛnni min bɛ wele ko glyphicon).
  • glyphicon glyphicon-indent-numan fɛ
  • glyphicon glyphicon-indent-niman fɛ
  • glyphicon glyphicon-ɲɛnajɛ-wideyo
  • glyphicon glyphicon-ja min bɛ wele ko glyphicon
  • glyphicon glyphicon-karta-taamaʃyɛn
  • glyphicon glyphicon-labɛnni
  • glyphicon glyphicon-tint ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-labɛnni
  • glyphicon glyphicon-jatebɔ ye
  • glyphicon glyphicon-sɛgɛsɛgɛli
  • glyphicon glyphicon-yɔrɔ-ko
  • glyphicon glyphicon-sen-kɔfɛ
  • glyphicon glyphicon-teliya-kɔfɛ
  • glyphicon glyphicon-kɔfɛ
  • glyphicon glyphicon-tulonkɛcogo
  • glyphicon glyphicon-lafiɲɛbɔ
  • glyphicon glyphicon-stop ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-ɲɛfɛ
  • glyphicon glyphicon-teliya-ka-ɲɛmaa
  • glyphicon glyphicon-sen-ɲɛ-taamasenɲɛ
  • glyphicon glyphicon-bɔli
  • glyphicon glyphicon-chevron-numan fɛ
  • glyphicon glyphicon-chevron-niman fɛ
  • glyphicon glyphicon-plus-taamaʃyɛn
  • glyphicon glyphicon-minus-taamaʃyɛn
  • glyphicon glyphicon-bɔ-taamasenɲɛ
  • glyphicon glyphicon-ok-taamaʃyɛn
  • glyphicon glyphicon-ɲininkali-taamaʃyɛn
  • glyphicon glyphicon-kunnafoni-taamasenɲɛ
  • glyphicon glyphicon-sɛbɛn ɲɛ 10nan
  • glyphicon glyphicon-bɔ-sɛrɛkili
  • glyphicon glyphicon-ok-sɛrɛkili
  • glyphicon glyphicon-ban-sɛrɛkili
  • glyphicon glyphicon-arrow-nɛgɛbere
  • glyphicon glyphicon-arrow-niman fɛ
  • glyphicon glyphicon-bɛɛ-sanfɛ
  • glyphicon glyphicon-arrow-down
  • glyphicon glyphicon-jatebɔ-alt
  • glyphicon glyphicon-hakɛ-dafalen
  • glyphicon glyphicon-hakɛ-misɛnnin
  • glyphicon glyphicon-ɲɛnajɛ-taamaʃyɛn
  • glyphicon glyphicon-kalifɛn
  • glyphicon glyphicon-bulu ye
  • glyphicon glyphicon-tasuma ye
  • glyphicon glyphicon-ɲɛ-da wulilen
  • glyphicon glyphicon-ɲɛ-kɛrɛfɛ
  • glyphicon glyphicon-lasɔmini-taamasenɲɛ
  • glyphicon glyphicon-plan (glifikɔni-plan).
  • glyphicon glyphicon-kalandriya
  • glyphicon glyphicon-kɛrɛnkɛrɛnnenya la
  • glyphicon glyphicon-fɔlikan
  • glyphicon glyphicon-magnet ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-chevron-up ka ɲɛsin a ma
  • glyphicon glyphicon-chevron-jigin-ka-bɔ
  • glyphicon glyphicon-retweet ye fɛn ye min bɛ se ka kɛ
  • glyphicon glyphicon-sanni-feere-wotoro
  • glyphicon glyphicon-foli-dadon
  • glyphicon glyphicon-foli-da wulilen
  • glyphicon glyphicon-hakɛ-yɔrɔ-yɔrɔ
  • glyphicon glyphicon-hakɛ-yɔrɔ-yɔrɔ
  • glyphicon glyphicon-hdd ye fɛn ye min bɛ se ka kɛ
  • glyphicon glyphicon-bullhorn (ɲɛnajɛ min bɛ wele ko glyphicon).
  • glyphicon glyphicon-bell ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-sɛbɛn (sɛbɛn) min bɛ wele ko glyphicon
  • glyphicon glyphicon-bolokɔniw-kɔnɔ
  • glyphicon glyphicon-bolokɔniw-kɔnɔ
  • glyphicon glyphicon-bolo-niman fɛ
  • glyphicon glyphicon-bolo-nɛgɛbere
  • glyphicon glyphicon-bolo-sanfɛ
  • glyphicon glyphicon-bolo-la-jigin
  • glyphicon glyphicon-circle-arrow-niman fɛ
  • glyphicon glyphicon-sɛrɛkili-nɛgɛ-nɛgɛbere
  • glyphicon glyphicon-sɛrɛkili-sɛrɛ-sanfɛ
  • glyphicon glyphicon-sɛrɛkili-yɔrɔ-jigin
  • glyphicon glyphicon-globe ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-clé ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-baarakɛminɛnw
  • glyphicon glyphicon-filɛri ye
  • glyphicon glyphicon-baganmarayɔrɔ
  • glyphicon glyphicon-ɛkran dafalen
  • glyphicon glyphicon-dashboard (daɲɛ min bɛ wele ko glyphicon).
  • glyphicon glyphicon-sɛbɛn ɲɛ 10nan
  • glyphicon glyphicon-dusukun-lankolon
  • glyphicon glyphicon-link ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-telefɔni
  • glyphicon glyphicon-pushpin ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-usd ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-gbp ye fɛn ye min bɛ se ka kɛ
  • glyphicon glyphicon-sɔrɔcogo
  • glyphicon glyphicon-sɔrɔ-ka kɛɲɛ ni-alfabe ye
  • glyphicon glyphicon-sɔrɔ-ka-bɔ-alt
  • glyphicon glyphicon-sɔrɔ-ka kɛɲɛ ni-ko ye
  • glyphicon glyphicon-sɔrɔ-ka-bɔ-alt
  • glyphicon glyphicon-sɔrɔ-ka-bɔ-fɛnw
  • glyphicon glyphicon-sɔrɔ-ka-bɔ-fɛnw-alt
  • glyphicon glyphicon-min ma sɛgɛsɛgɛ
  • glyphicon glyphicon-ka bonya
  • glyphicon glyphicon-ka-bɔn-ka-bɔ
  • glyphicon glyphicon-ka-bɔn-ka-bɔ
  • glyphicon glyphicon-don-kɔnɔ
  • glyphicon glyphicon-flash ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-bɔ-bɔ-yɔrɔ
  • glyphicon glyphicon-finɛtiri-kura
  • glyphicon glyphicon-sɛbɛnni
  • glyphicon glyphicon-sɛgɛsɛgɛli
  • glyphicon glyphicon-da wulilen
  • glyphicon glyphicon-sɔrɔlen
  • glyphicon glyphicon-donni ye
  • glyphicon glyphicon-ka bɔ kɛnɛ kan
  • glyphicon glyphicon-cikan ye
  • glyphicon glyphicon-disiki-disiki
  • glyphicon glyphicon-flopi-sɔrɔlen
  • glyphicon glyphicon-flopi-bɔ
  • glyphicon glyphicon-flopi-sɛgɛsɛgɛli
  • glyphicon glyphicon-flopi-da wulilen
  • glyphicon glyphicon-karti-sɛbɛn
  • glyphicon glyphicon-ɲɛnabɔli
  • glyphicon glyphicon-minɛnw
  • glyphicon glyphicon-kunnafoni
  • glyphicon glyphicon-min bɛ sɔgɔsɔgɔ
  • glyphicon glyphicon-tulonkɛminɛn
  • glyphicon glyphicon-telefɔni-alt
  • glyphicon glyphicon-sankansoba
  • glyphicon glyphicon-statiw ka fɛnw
  • glyphicon glyphicon-sd-video ka baarakɛminɛnw
  • glyphicon glyphicon-hd-video ka baarakɛminɛnw
  • glyphicon glyphicon-sɛbɛnw
  • glyphicon glyphicon-mankan-stɛriyɔmu
  • glyphicon glyphicon-mankan-dɔlbi
  • glyphicon glyphicon-mankan-5-1
  • glyphicon glyphicon-mankan-6-1
  • glyphicon glyphicon-mankan-7-1
  • glyphicon glyphicon-sɛbɛnni-sɛbɛn
  • glyphicon glyphicon-sɛbɛnni-taamaʃyɛn
  • glyphicon glyphicon-sankaba-télécharger
  • glyphicon glyphicon-sankaba-wulili
  • glyphicon glyphicon-jiri-konifer
  • glyphicon glyphicon-jiri-bulu-bɔn
  • glyphicon glyphicon-cd ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-kɔlɔsili-filen
  • glyphicon glyphicon-da wulilen-filen
  • glyphicon glyphicon-nivo-sanfɛ
  • glyphicon glyphicon-kopi ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-paste ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-kɔlɔsili
  • glyphicon glyphicon-equalizer (Glifikɔni) min bɛ wele ko glyphicon
  • glyphicon glyphicon-masakɛ
  • glyphicon glyphicon-masamuso ye
  • glyphicon glyphicon-pawn ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-episkɔpu ye
  • glyphicon glyphicon-kɛlɛcɛ ye
  • glyphicon glyphicon-denmisɛnninw ka foroko
  • glyphicon glyphicon-tɛgɛsɛgɛli
  • glyphicon glyphicon-tablo nɛrɛma
  • glyphicon glyphicon-bɛɛ ye
  • glyphicon glyphicon-pɔmu
  • glyphicon glyphicon-erase (glifikɔni)
  • glyphicon glyphicon-lafiɲɛbɔlan
  • glyphicon glyphicon-lanpan min bɛ wele ko glyphicon
  • glyphicon glyphicon-duplicate (Glifikɔni-duplikati).
  • glyphicon glyphicon-donsoya-banki
  • glyphicon glyphicon-sizow ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-bitcoin ye fɛn ye min bɛ se ka kɛ
  • glyphicon glyphicon-btc ka baara ye
  • glyphicon glyphicon-xbt ye fɛn ye min bɛ se ka kɛ
  • glyphicon glyphicon-yen ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-jpy ye fɛn ye min bɛ se ka kɛ
  • glyphicon glyphicon-ruble ye fɛn ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-mugu ye a ye
  • glyphicon glyphicon-skala ye
  • glyphicon glyphicon-ji-loli
  • glyphicon glyphicon-ice-lolly-min bɛ kɛ ka a dabɔ
  • glyphicon glyphicon-kalan kɛcogo ɲuman
  • glyphicon glyphicon-sugandili-yɔrɔ
  • glyphicon glyphicon-sugandili-jɔlen
  • glyphicon glyphicon-menu-hamburgɛri
  • glyphicon glyphicon-modal-fenɛtiri
  • glyphicon glyphicon-tulu ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-sɛnɛfɛnw
  • glyphicon glyphicon-tile ɲɛkisɛw
  • glyphicon glyphicon-sɛbɛnni-size
  • glyphicon glyphicon-sɛbɛn-kulɛri
  • glyphicon glyphicon-sɛbɛnni-kɔnɔ
  • glyphicon glyphicon-fɛn-ɲɛnajɛ-sanfɛ
  • glyphicon glyphicon-fɛn-ɲɛnajɛ-jukɔrɔ
  • glyphicon glyphicon-fɛn-ɲɛnajɛ-yɔrɔ-yɔrɔ
  • glyphicon glyphicon-fɛn-ɲɛnajɛ-nɛgɛbere
  • glyphicon glyphicon-fɛn-ɲɛnajɛ-jɔlen
  • glyphicon glyphicon-fɛn-ɲɛnajɛ-niman fɛ
  • glyphicon glyphicon-kɛrɛ saba-niman fɛ
  • glyphicon glyphicon-kɛrɛ saba-nɛgɛbere
  • glyphicon glyphicon-kɛrɛ saba-jukɔrɔ
  • glyphicon glyphicon-kɛrɛ saba-sanfɛ
  • glyphicon glyphicon-konsol ye min bɛ wele ko glyphicon
  • glyphicon glyphicon-sɛbɛnni min bɛ sanfɛ
  • glyphicon glyphicon-sɛbɛnni-sɛbɛn
  • glyphicon glyphicon-menu-numan fɛ
  • glyphicon glyphicon-menu-niman fɛ
  • glyphicon glyphicon-menu-jigin-ka-bɔ
  • glyphicon glyphicon-menu-up ka ɲɛfɔli kɛ

Baara kɛcogo

Baarakɛcogo kunw na, taamasiyɛnw bɛɛ bɛ basigi kalasi ni taamasiyɛn kalasi kelen-kelen de wajibiya. Walasa ka baara kɛ ni a ye, aw bɛ nin kode in bila yɔrɔ o yɔrɔ la. Aw ye aw jija ka yɔrɔ dɔ to taamasiyɛn ni sɛbɛnni cɛ walasa ka padding kɛ ka ɲɛ.

Aw kana a ɲagami ni a yɔrɔ wɛrɛw ye

Icon classes tɛ se ka fara ɲɔgɔn kan k’a ɲɛsin a yɔrɔ wɛrɛw ma. U man kan ka baara kɛ ni kalan wɛrɛw ye o fɛn kelen kan. O nɔ na, ​​aw bɛ nested dɔ fara a kan <span>ani ka taamasiyɛn kalasiw waleya <span>.

Dɔrɔn ka baara kɛ ni fɛn lankolonw ye

Icon classes ka kan ka baara kɛ dɔrɔn fɛnw kan minnu kɔnɔkow tɛ sɛbɛnni kɔnɔ ani minnu kɔnɔfɛnw tɛ denmisɛnninw ye.

Icon font yɔrɔ caman cili

Bootstrap b’a miiri ko ikomi sɛbɛnnibolow bɛna sɔrɔ ../fonts/ɲɛbilasɛbɛn kɔnɔ, ka kɛɲɛ ni CSS filenw lajɛlenw ye. O sɛbɛnnibolow ka filenw jiginni walima u tɔgɔ caman cili kɔrɔ ye ka CSS kuraya cogo saba dɔ la kelen na:

  • Yɛlɛma don @icon-font-pathani/walima @icon-font-namefɛn caman sɛgɛsɛgɛli source Less files kɔnɔ.
  • Baara kɛ ni URLs relatives sugandilen ye min dira Less compiler fɛ.
  • Aw bɛ url()siraw Changer CSS lajɛlen kɔnɔ.

Baara kɛ ni sugandi fɛn o fɛn ye min bɛ bɛn i ka yiriwali sigicogo kɛrɛnkɛrɛnnen ma kosɛbɛ.

Icons minnu bɛ se ka sɔrɔ

Dɛmɛn-fɛɛrɛw bi-bi in na, olu bɛna CSS ka kunnafoniw laseli, ka fara Unicode taamasiyɛn kɛrɛnkɛrɛnnenw kan. Walasa ka an yɛrɛ tanga bɔli ma min tɛ laɲini ani min bɛ mɔgɔw hakili ɲagami ɛkran kalanbagaw la (kɛrɛnkɛrɛnnenya la ni taamasiyɛnw bɛ kɛ ka ɲɛnajɛ dɔrɔn kɛ), an b’u dogo ni fɛn aria-hidden="true"ye.

N’i ​​bɛ baara kɛ ni taamasiyɛn ye walasa ka kɔrɔ lase (sanni i ka kɛ masirifɛn dɔrɔn ye), i k’a lajɛ ko o kɔrɔ in fana ka lase dɛmɛnan fɛɛrɛw ma – misali la, i ka kunnafoni wɛrɛw fara a kan, minnu dogolen bɛ yecogo la ni .sr-onlykalan ye.

N’i ​​bɛ kunnafoni-di-minɛnw Dabɔ ni sɛbɛnni wɛrɛ tɛ minnu na (i n’a fɔ a <button>min bɛ ni taamaʃyɛn dɔrɔn de ye), i ka kan ka kunnafoni wɛrɛw Di tuma bɛɛ walasa ka kunnafoni-falen-falen kuntilenna dɔn, walasa a ka kɛ hakilina ye dɛmɛ-fɛɛrɛw baarakɛlaw ma. O cogo la, i bɛ se ka fɛn dɔ fara a aria-labelkan control yɛrɛ kan.

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

Misaliw

Baara kɛ n’u ye butɔni kɔnɔ, butɔni kuluw kɔnɔ baarakɛminɛn dɔ kama, navigatiɔn, walima foroko dontaw la minnu bilalen bɛ ka kɔn.

<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>

Taamaʃyɛn min bɛ Kɛ lasɔmini dɔ la walasa k’a Jira ko fili cikan don, ni .sr-onlysɛbɛnni wɛrɛw ye walasa ka nin hakilina in Lase dɛmɛ-fɛɛrɛw baarakɛlaw ma.

<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>

Dropdowns (Donkiliw).

Menu min bɛ se ka wuli ka bɔ a nɔ na, ​​min bɛ se ka wuli ka bɔ a nɔ na, ​​walasa ka jɛgɛnsira lisi jira. A kɛra ɲɔgɔndan ye ni JavaScript sɛgɛsɛgɛlikɛlan ye .

Aw bɛ jiginɛ in ka daminɛ ni fɛn dɔ siri .dropdown, walima fɛn wɛrɛ min bɛ a jira position: relative;. O kɔ, i ka menu (menu) ka HTML fara a kan.

<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>

Meniw minnu bɛ jigin, olu bɛ se ka Changé walasa ka bonya ka taa sanfɛ (sanni ka jigin) ni farali .dropupye bangebaga kan.

<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>

O cogo la, fɛn dɔ bɛ Dòn a yɛrɛ la 100% ka Bɔ sanfɛ ani a bangebaga kinin fɛ. A fara a kan .dropdown-menu-rightka .dropdown-menutaa kinin fɛ, i ka menu (yɔrɔ) labɛn.

A bɛ se ka kɛ ko a bɛ kɛ sababu ye ka mɔgɔw bila jɔyɔrɔ wɛrɛw la

Dropdowns bɛ bila u yɛrɛma CSS fɛ sɛbɛn in bolicogo nɔrɔlen kɔnɔ. O kɔrɔ ye ko jiginɛw bɛ se ka tigɛ bangebagaw fɛ ni overflownafolo dɔw ye walima ka bɔ filɛlikɛyɔrɔ dancɛw la. Aw bɛ o koɲɛw ɲɛnabɔ aw yɛrɛ ma ni u bɛ ka wuli.

Alignment min ma deli ka .pull-right

Kabini v3.1.0, an ye deprecated .pull-rightkan dropdown menus kan. Walasa ka menu dɔ labɛn kinin fɛ, baara kɛ ni .dropdown-menu-right. Nav yɔrɔ minnu bɛ kinin fɛ navbar kɔnɔ, olu bɛ baara kɛ ni nin kalasi in mixin version ye walasa ka menu labɛn u yɛrɛma. Walisa k’a bɔ a nɔ na, ​​baara kɛ ni .dropdown-menu-left.

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

Aw bɛ kuncɛ dɔ fara a kan walasa ka walew yɔrɔw tɔgɔ sɛbɛn minnu bɛ sɔrɔ yɔrɔ o yɔrɔ la.

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

Aw bɛ tilayɔrɔba dɔ fara a kan walasa ka jɛgɛnsira dɔw fara ɲɔgɔn kan yɔrɔ dɔ la min bɛ jira.

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

A bɛ fara a .disabledkan <li>yɔrɔ la walasa ka jɛgɛnsira bali.

<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>

Butɔn kuluw

Butɔnw sigiyɔrɔma kelen fara ɲɔgɔn kan tigɛli kelen kan ni butɔni kulu ye. fara JavaScript arajo sugandilenw kan ani sɛgɛsɛgɛli kɛcogo kɛcogo ni an ka butɔni plugin ye .

Baarakɛminɛnw & popovers minnu bɛ butɔni kuluw kɔnɔ, olu bɛ sigicogo kɛrɛnkɛrɛnnen de wajibiya

Ni i bɛ baara kɛ ni baarakɛminɛnw walima popovers ye fɛnw kan minnu bɛ a kɔnɔ .btn-group, i bɛna sugandili jira container: 'body'walasa ka i yɛrɛ tanga kɔlɔlɔw ma minnu man ɲi (i n’a fɔ fɛn in bɛ bonya ka taa a fɛ ani/walima a bɛ bɔnɛ a nkɔni bulamaw na ni baarakɛminɛnw walima popover bɛ daminɛ).

Aw bɛ aw jija a bɛnnen don roleani ka sɛbɛn dɔ di a ma

Walasa dɛmɛni fɛɛrɛw – i n’a fɔ ɛkran kalanbagaw – ka se k’a jira ko butɔni dɔw sigilen bɛ kuluw kɔnɔ, fɛn bɛnnen dɔ roleka kan ka di. Butɔn kuluw ta fan fɛ, o bɛna kɛ role="group", k’a sɔrɔ baarakɛminɛnw ka kan ka kɛ ni role="toolbar".

O danfara dɔ ye kuluw ye minnu bɛ kɔrɔsili kelen dɔrɔn de la (misali la butɔni kulu minnu bɛ jo sɔrɔ ni <button>fɛnw ye) walima 'dakun dɔ.

Ka fara o kan, kuluw ni baarakɛminɛnw ka kan ka taamasiyɛn jɛlen di u ma, bawo dɛmɛn fɛɛrɛ fanba tɛna u laseli kɛ, hali ni fɛn bɛnnen rolebɛ yen. Misali minnu dira yan, an bɛ baara Kɛ ni aria-label, nka fɛɛrɛ wɛrɛw i n’a fɔ aria-labelledbyolu fana bɛ Se ka Kɛ.

Misali jɔnjɔn

Aw bɛ butɔni dɔw siri ni .btnin ye .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>

Butɔn baarakɛminɛnw

Aw bɛ setiw fara ɲɔgɔn kan ka <div class="btn-group">kɛ a ye <div class="btn-toolbar">walasa ka yɔrɔw labɛn minnu ka gɛlɛn kosɛbɛ.

<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 (Sizing) kɛ

Sani i ka butɔni hakɛ jatebɔ kalanw Kɛ butɔni kelen-kelen bɛɛ kan kulu dɔ kɔnɔ, i ka dɔ Fàra dɔrɔn .btn-group-*kelen-kelen bɛɛ .btn-groupkan , hali n’i bɛ kulu caman 'kɔnɔ.




<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>

Nesting (kɔnɔnafili).

Aw bɛ dɔ bila dɔ .btn-groupwɛrɛ kɔnɔ .btn-groupni aw b’a fɛ ka fɛnw jira minnu bɛ jigin ka ɲagami ni butɔni dɔw ye minnu bɛ tugu ɲɔgɔn na.

<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>

Yɛlɛma jɔlen

Aw bɛ butɔni kulu dɔ kɛ i n’a fɔ u bɛ ɲɔgɔn kan cogo tilennen na sanni u ka kɛ tilennen ye. Butɔn tila-tilalenw tɛ dɛmɛn yan.

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

Butɔnw kulu minnu bɛ jo sɔrɔ

Aw bɛ butɔni kulu dɔ kɛ ka wuli ni hakɛ kelen ye walasa ka a bangebaga bonya bɛɛ lajɛlen kɛ. Fana a bɛ baara Kɛ ni butɔni-yɔrɔw ye butɔni kulu kɔnɔ.

Danyɔrɔw minɛcogo

K’a sababu Kɛ HTML ni CSS kɛrɛnkɛrɛnnenw ye minnu bɛ Kɛ ka butɔni (o kɔrɔ ye display: table-cell), dan minnu bɛ u ni ɲɔgɔn cɛ olu bɛ Kɛ siɲɛ fila ye. Butɔn kulu basigilenw na, margin-left: -1pxo bɛ Kɛ ka danw Sìgi ɲɔgɔn kan sanni k'u Bɔ. Nka, margina tɛ baara kɛ ni display: table-cell. O de kosɔn, ka da i ka ladamucogo kan Bootstrap kan, i bɛ se ka dancɛw bɔ walima ka u kulɛri kokura.

IE8 ani dancɛw

Internet Explorer 8 tɛ dancɛw jira butɔni kan butɔni kulu jolen kɔnɔ, a kɛra on ye wo, a kɛra <a>elements <button>ye wo. Walasa ka o lamini, aw bɛ butɔni kelen-kelen bɛɛ siri dɔ wɛrɛ .btn-groupla .

Aw ye #12476 lajɛ walasa ka kunnafoni wɛrɛw sɔrɔ .

Ni <a>fɛnw ye

.btnDɔrɔn ka s sigiyɔrɔma kelen siri .btn-group.btn-group-justified.

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

Lien minnu bɛ baara kɛ i n’a fɔ butɔni

Ni <a>fɛnw bɛ kɛ ka baara kɛ i n’a fɔ butɔni – ka ɲɛ kɔnɔ baarakɛcogo daminɛ, sanni ka taa sɛbɛn wɛrɛ walima yɔrɔ wɛrɛ la ɲɛ min bɛ yen sisan kɔnɔ – u ka kan ka di u ma fana role="button".

Ni <button>fɛnw ye

Walasa ka baara kɛ ni butɔni kulu jolenw ye ni <button>fɛnw ye, i ka kan ka butɔni kelen-kelen bɛɛ siri butɔni kulu dɔ kɔnɔ . Navigatɛri fanba tɛ an ka CSS baara ka ɲɛ walasa ka jo di <button>fɛnw ma, nka ikomi an bɛ butɔni jigintaw dɛmɛ, an bɛ se ka baara kɛ o la.

<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>

Butɔnw bɛ jigin

Baara kɛ ni butɔni o butɔni ye walasa ka menu (yɔrɔ) dɔ daminɛ i kɛtɔ k’a bila a kɔnɔ .btn-groupani ka menu taamasiyɛn ɲuman di.

Plugin ka baarakɛcogo

Butɔnw b’a ɲini ka bɔgɔdaga in don i ka Bootstrap bɔko kɔnɔ.

Butɔn kelen-kelen bɛɛ bɛ jigin

Aw bɛ butɔni dɔ wuli ka kɛ fɛn dɔ ye min bɛ fɛn dɔ jira ni taamasiyɛn jɔnjɔn dɔw ye.

<!-- 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>

Butɔnw tila-tila

O cogo kelen na, i ka butɔni tilalenw dabɔ ni taamasiyɛn caman yeli ye kelen ye, ni butɔni danfaralen dɔrɔn de ye.

<!-- 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 (Sizing) kɛ

Butɔnw bɛ baara kɛ ni butɔni hakɛ bɛɛ ye.

<!-- 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 caman ɲɔgɔnna

Aw bɛ menu (yɔrɔ) minnu bɛ fɛnw kan, olu daminɛ ni farali .dropupye bangebaga kan.

<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>

Donanw kuluw

Aw bɛ sɛbɛnfura kunkankow janya ni sɛbɛnni walima butɔni farali ye ka kɔn sɛbɛnni ɲɛ, a kɔfɛ, walima a fan fila bɛɛ kan <input>. Baara kɛ .input-groupni .input-group-addonwalima .input-group-btnka prepend walima ka elements fara kelen .form-controlkan .

Textual <input>s dɔrɔn

Aw ye aw yɛrɛ tanga baara kɛli ni <select>fɛnw ye yan bawo u tɛ se ka kɛ cogo dafalen na WebKit navigatɔrɔw kɔnɔ.

Aw ye aw yɛrɛ tanga baara kɛli ni <textarea>fɛnw ye yan bawo u rowsjogo tɛna bonya ko dɔw la.

Baarakɛminɛnw & popovers minnu bɛ donnakow kuluw kɔnɔ, olu bɛ sigicogo kɛrɛnkɛrɛnnen de wajibiya

Ni i bɛ baara kɛ ni baarakɛminɛnw walima popovers ye fɛnw kan minnu bɛ an kɔnɔ .input-group, i bɛna sugandili jira container: 'body'walasa ka i yɛrɛ tanga kɔlɔlɔw ma minnu man ɲi (i n’a fɔ fɛn in bɛ bonya ka taa a fɛ ani/walima a bɛ bɔnɛ a nkɔni bulamaw na ni baarakɛminɛnw walima popover bɛ daminɛ).

Aw kana a ɲagami ni a yɔrɔ wɛrɛw ye

Aw kana foroko kuluw walima grid koloma kalanw ɲagami ɲɔgɔn na ni donna kuluw ye. O nɔ na, ​​aw bɛ donna-jɛkulu in sigi foroko kulu kɔnɔ walima jatebɔlan min bɛ tali kɛ o la.

Aw bɛ sɛbɛnniw fara a kan tuma bɛɛ

Écran kalanbagaw bɛna gɛlɛya sɔrɔ aw ka sɛbɛnw na ni aw ma sɛbɛn dɔ don donta bɛɛ la. Nin donta kuluw kama, aw k’a lajɛ ko taamasiyɛn walima baarakɛcogo wɛrɛ minnu bɛ fara a kan, olu bɛ lase dɛmɛni fɛɛrɛw ma.

Fɛɛrɛ tigitigi min bɛna Kɛ (fɛn yetaw <label>, <label>fɛn minnu dogolen dòn ni .sr-onlykalasi ye, walima aria-label, aria-labelledby, aria-describedby, titlewalima placeholderfɛnɲɛnɛma baara) ani kunnafoni wɛrɛ minnu bɛna Kɛ ka Lase, olu bɛ Yɛlɛma ka Kɛɲɛ ni i bɛ ka 'interface widget suguya tigitigi min Kɛ. Misali minnu bɛ nin tilayɔrɔba in kɔnɔ, olu bɛ fɛɛrɛ damadɔw di minnu bɛ fɔ, minnu bɛ tali kɛ ko kɛrɛnkɛrɛnnenw na.

Misali jɔnjɔn

Aw bɛ farankan walima butɔni kelen bila donnafɛn dɔ fan fila bɛɛ la. Aw bɛ se fana ka kelen bila donnafɛn dɔ fan fila bɛɛ la.

An tɛ farankan caman dɛmɛ ( .input-group-addonwalima .input-group-btn) fan kelen fɛ.

An tɛ dɛmɛ don foroko-kɔlɔsili caman na donna-jɛkulu kelen kɔnɔ.

@ Bamako

@misali.com ye

$ ye .00 ye

https://misali.com/baarakɛlaw/
<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 (Sizing) kɛ

Aw bɛ foroko hakɛ dantigɛli kalansenw fara a .input-groupyɛrɛ kan ani kɔnɔkow bɛ bonya caman ɲɔgɔnna kɛ a yɛrɛma—wajibi tɛ ka segin foroko hakɛ dantigɛli kalanw kan fɛn kelen-kelen bɛɛ kan.

@ Bamako

@ Bamako

@ Bamako
<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>

Checkboxes ani arajo farankanw

Aw bɛ jatebɔyɔrɔ walima arajo sugandicogo o sugandilen bila donna kulu dɔ ka farankan kɔnɔ sɛbɛnni nɔ na.

<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 -->

Butɔn ka farankanw

Butɔn minnu bɛ donna-jɛkuluw kɔnɔ olu tɛ kelen ye dɔɔnin wa u bɛ 'kɔnɔnafili hakɛ kelen wɛrɛ de wajibiya. Sani .input-group-addon, i bɛna baara kɛ ni .input-group-btna ye walasa ka butɔni siri. O bɛ Kɛ k’a sababu Kɛ navigatɔrɔn cogoyaw ye minnu tɛ Se ka Lajɔ.

<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 -->

Butɔn minnu bɛ ni fɛnw ye minnu bɛ jigin

<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 -->

Butɔnw tila-tilalenw

<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>

Butɔn caman bɛ sɔrɔ

Hali ni i bɛ se ka farankan kelen dɔrɔn sɔrɔ fan kelen na, i bɛ se ka butɔni caman sɔrɔ kelen .input-group-btnkɔnɔ .

<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 ye

Navs minnu bɛ sɔrɔ Bootstrap kɔnɔ olu ye markup jɛlenw ye, k’a daminɛ ni basigi .navkalasi ye, ka fara jamanaw tilalenw kan. Swap modifier classes ka ɲɔgɔn falen-falen cogoya kelen-kelen bɛɛ cɛ.

Baara kɛli ni navs ye tab pannew kama, o bɛ JavaScript tabs plugin de wajibiya

Tab minnu bɛ ni tablɛti yɔrɔw ye, i ka kan ka baara kɛ ni tabw ye JavaScript plugin . Marka in bɛna fɛn wɛrɛw fana wajibiya roleani ARIA fɛnw – aw ye plugin ka misali taamasiyɛn lajɛ walasa ka kunnafoni wɛrɛw sɔrɔ.

Aw ye navs kɛ minnu bɛ kɛ ka navigatiɔn sɔrɔ

N’i ​​bɛ baara Kɛ ni navs ye walasa ka navigatiɔn-yɔrɔ Di, i k’i jija ka a Fàra role="navigation"parent container kan min bɛ hakili sɔrɔ kosɛbɛ <ul>, walima ka <nav>fɛn dɔ siri navigatiɔn bɛɛ la. Aw kana jɔyɔrɔ in fara a <ul>yɛrɛ kan, bawo o bɛna a bali ka laseli kɛ ko a ye lisi yɛrɛ ye dɛmɛni fɛɛrɛw fɛ.

A kɔlɔsi ko .nav-tabskalasi bɛ .navbasigi kalan de wajibiya.

<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>

Aw bɛ o HTML kelen in ta, nka aw bɛ baara kɛ n’a .nav-pillsnɔ na:

<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>

Furakisɛw fana bɛ se ka bila ɲɔgɔn kan jɔlen na. Dɔrɔn ka fara a kan .nav-stacked.

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

aw bɛ tab walima furakisɛw kɛ nɔgɔya la u bangebaga bonya bɛ bɛn ɛkranw kan minnu bonya ka bon ni 768px ye ni .nav-justified. Écran fitininw kan, nav links bɛ ɲɔgɔn kan.

Justified navbar nav links tɛ dɛmɛ sɔrɔ sisan.

Safari ani jaabi jotigiya navs

Kabini v9.1.2, Safari bɛ bug dɔ jira min kɔnɔ, n’i ye i ka navigatɔrɔ bonya caman caman cili kɛ tilennen na, o bɛ kɛ sababu ye ka ɲɛfɔli filiw kɛ nav justified kɔnɔ minnu bɛ jɛya ni u ye u labɛn kokura. nin bugu in fana jiralen bɛ nav misali jolen na .

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

Ni nav yɔrɔ o yɔrɔ (tabs walima furakisɛw) bɛ a la, aw bɛ a fara a kan .disabledwalasa ka jɛgɛnsira gris ani no hover effects .

Link baarakɛcogo ma nɔ bila

Nin kalan in bɛna <a>'s cogoya dɔrɔn de Changé, a tɛna a baarakɛcogo Changé. Baara kɛ ni JavaScript ye min bɛ kɛ ka kɛɲɛ ni mɔgɔw sago ye walasa ka ladɛrɛsiw bali yan.

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

menu dɔw fara a kan ni HTML dɔ faralen ye ɲɔgɔn kan ani JavaScript plugin min bɛ jigin .

Tablo minnu bɛ ni fɛnw ye minnu bɛ jigin

<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>

Furakisɛw ni furakisɛw

<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 ye

Navbars ye meta components jaabiw ye minnu bɛ kɛ navigation headers ye i ka application walima site web kan. U bɛ daminɛ ka bin (wa u bɛ se ka wuli) mobili filɛliw la ani u bɛ kɛ tilennen ye ni filɛlikɛyɔrɔ min bɛ sɔrɔ, o bonya bɛ bonya.

Justified navbar nav links tɛ dɛmɛ sɔrɔ sisan.

Kɔnɔkow falen-falen

Komin Bootstrap t’a Dɔn i ka navbar kɔnɔfɛnw mago bɛ yɔrɔ hakɛ min na, i bɛ Se ka gɛlɛyaw Sɔrɔ ni kɔnɔkow sirili ye jyɛn flanan na. Walasa k’o ɲɛnabɔ, aw bɛ se ka:

  1. Navbar fɛnw hakɛ walima u bonya dɔgɔya.
  2. navbar fɛn dɔw dogo ɛkran hakɛ dɔw la ni jaabi nafama kalanw ye .
  3. Aw bɛ yɔrɔ min na aw ka navbar bɛ wuli ka bɔ cogo min na, o Changer. Aw bɛ @grid-float-breakpointfɛn caman sɛgɛsɛgɛli kɛ walima ka aw yɛrɛ ka kunnafonidi ɲininkali fara a kan.

A bɛ JavaScript plugin de wajibiya

Ni JavaScript ma baara kɛ ani ni filɛlikɛlan ka dɔgɔ fo navbar bɛ bin, a tɛna se ka navbar bonya ani ka kɔnɔkow lajɛ .navbar-collapse.

Navbar min bɛ jaabi di, o bɛ a ɲini ko collapse plugin ka don i ka Bootstrap bɔko kɔnɔ.

Mobile navbar breakpoint min binna, o caman cili

Navbar bɛ bin a ka mobili filɛli jɔlen na ni filɛlikɛlan ka dɔgɔ ni @grid-float-breakpoint, ani ka bonya ka don a ka mobili-yɔrɔ-yɔrɔ-yɔrɔ-yɔrɔ-yɔrɔ la ni filɛli-yɔrɔ ka dɔgɔn @grid-float-breakpointa bonya la. Aw bɛ nin fɛn caman sɛmɛntiya Less source kɔnɔ walasa ka kunnafoni sɔrɔ ni navbar bɛ bin/ka bonya. A nafa fɔlɔ ye 768px("fitini" walima "tablɛti" ɛkran fitinin).

Aw ye navbarw kɛ fɛn ye min bɛ se ka sɔrɔ

Aw ye aw jija ka baara kɛ ni <nav>fɛn dɔ ye walima, ni aw bɛ baara kɛ ni fɛn dɔ ye min ka ca ni fɛn bɛɛ ye i n’a fɔ a <div>, aw bɛ a fara role="navigation"navbar bɛɛ kan walasa k’a jira k’a jɛya ko a ye yɔrɔ taamasiyɛn ye dɛmɛni fɛɛrɛw baarakɛlaw bolo.

<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>

Aw bɛ navbar taamasiyɛn bila aw yɛrɛ ka ja nɔ na ni sɛbɛnni falenfalenni ye ni <img>. Komin the .navbar-brandbɛ ni a yɛrɛ ka padding ni height ye, i bɛ se ka CSS dɔw override ka kɛɲɛ ni i ka ja ye.

<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>

Aw bɛ foroko kɔnɔkow bila a kɔnɔ .navbar-formwalasa ka jɔcogo ɲuman sɔrɔ ani ka kɛwalew binna filɛlikɛyɔrɔ fitininw kɔnɔ. Baara kɛ ni ɲɔgɔndan suganditaw ye walasa k’a latigɛ a bɛ yɔrɔ min na navbar kɔnɔkow kɔnɔ.

As a heads up, .navbar-forma bɛ a ka kode caman tila ni .form-inlinevia mixin ye. Foroko kunnafoni dɔw, i n’a fɔ donna kuluw, olu bɛ se ka kɛ sababu ye ka bonya jɔlenw jira ka ɲɛ navbar kɔnɔ.

<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>

Mobili minɛnw ka lasɔminiw

Kɔlɔsili dɔw bɛ yen ka ɲɛsin baara kɛli ma ni foroko kunkankow ye fɛn jɔlenw kɔnɔ telefɔni selilɛriw kan. Aw ye an ka navigatɛri dɛmɛ sɛbɛnw lajɛ walasa ka kunnafoni wɛrɛw sɔrɔ.

Aw bɛ sɛbɛnniw fara a kan tuma bɛɛ

Écran kalanbagaw bɛna gɛlɛya sɔrɔ aw ka sɛbɛnw na ni aw ma sɛbɛn dɔ don donta bɛɛ la. Nin inline sɛbɛnw kama, aw bɛ se ka labeliw dogo ni .sr-onlykalan ye. Fɛɛrɛ wɛrɛw bɛ yen minnu bɛ se ka kɛ walasa ka taamasiyɛn di dɛmɛ fɛɛrɛw ma, i n’a fɔ aria-label, aria-labelledbywalima fɛn titlemin bɛ kɛ ka fɛn dɔ jira. Ni ninnu si tɛ yen, ɛkran kalanbagaw bɛ se ka baara kɛ ni o placeholderfɛnsɛbɛnni ye, ni o bɛ yen, nka aw k’a kɔlɔsi ko baara kɛli ye placeholderka kɛ taamasiyɛn kɛcogo wɛrɛw nɔnabila ye, o tɛ ladilikan ye.

Aw bɛ .navbar-btnkalasi fara <button>fɛnw kan minnu tɛ sigi a kɔnɔ <form>walasa k’u cɛmancɛ jɔlen na navbar kɔnɔ.

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

Baarakɛcogo min bɛ kɛ ka kɛɲɛ ni sigida kɛrɛnkɛrɛnnenw ye

I n’a fɔ standard button classes , .navbar-btnbɛ se ka baara kɛ ni kan <a>ani <input>elements. Nka, u si .navbar-btnman kan ka baara kɛ ni butɔni kalasi jɔnjɔnw ye <a>fɛnw kan minnu bɛ .navbar-nav.

Aw bɛ sɛbɛnniw sɛrɛw siri fɛn dɔ kɔnɔ ni .navbar-text, a ka c’a la, <p>taamasiyɛn dɔ kan walasa ka ɲɛmɔgɔya ni kulɛri ɲuman sɔrɔ.

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

Mɔgɔ minnu bɛ baara kɛ ni jɛgɛnsira jɔnjɔnw ye minnu tɛ navbar navigatiɔn yɔrɔ kɔrɔlen kɔnɔ, baara kɛ ni .navbar-linkkalasi ye walasa ka kulɛri bɛnnenw fara navbar suganditaw kan minnu bɛ kɛ ka kɛɲɛ ni default ani inverse sugandilenw ye.

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

Nav links, forms, buttons, walima sɛbɛnniw labɛn, ka baara kɛ ni .navbar-leftor .navbar-rightutility classes ye. Kalanso fila bɛɛ bɛna CSS float dɔ fara a kan sira kofɔlen na. Misali la, walasa ka nav jɛgɛnw labɛn, i k’u bila danfara <ul>la ni nafalan kalasi kelen-kelen bɛɛ ye min bɛ baara kɛ.

Nin kalan ninnu ye mixin-ed versions of .pull-leftand .pull-right, nka u bɛ scoped ka media ɲininkaliw kɛ walasa ka navbar yɔrɔw minɛ nɔgɔya la minɛnw hakɛw bɛɛ kɔnɔ.

A yɔrɔ caman bɛ ɲɔgɔn sɔrɔ kinin fɛ

Navbarw bɛ dan sigi sisan ni .navbar-rightkalasi caman ye. Walasa ka kɔnɔkow yɔrɔ janya ka ɲɛ, an bɛ baara Kɛ ni margin jugu ye .navbar-rightfɛn laban kan. Ni fɛn caman bɛ yen minnu bɛ baara Kɛ n’o kalasi ye, o dakunw tɛ baara Kɛ i n’a fɔ a laɲininen dòn cogo min na.

An bɛ segin nin kan n'an bɛ se k'o yɔrɔ in sɛbɛn kokura v4 kɔnɔ.

A fara a kan .navbar-fixed-topani ka a don a .containercɛmancɛ .container-fluidla ani ka pad navbar kɔnɔkow la.

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

Farikolo padding ka kan ka kɛ

Navbar fixe bɛna i ka kɔnɔkow tɔw datugu, fo n’i ye dɔ fara paddinga kan <body>. Aw ye aw yɛrɛ ka nafaw lajɛ walima aw bɛ baara kɛ ni an ka yɔrɔ dɔ ye min bɛ duguma. Ladilikan: Ka da a kan, navbar ye 50px ye.

body { padding-top: 70px; }

Aw ye aw jija ka nin don a kɔnɔ Bootstrap CSS koloma kɔfɛ .

A fara a kan .navbar-fixed-bottomani ka a don a .containercɛmancɛ .container-fluidla ani ka pad navbar kɔnɔkow la.

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

Farikolo padding ka kan ka kɛ

Navbar fixe bɛna i ka kɔnɔkow tɔw datugu, fo n’i ye dɔ fara paddinga kan <body>. Aw ye aw yɛrɛ ka nafaw lajɛ walima aw bɛ baara kɛ ni an ka yɔrɔ dɔ ye min bɛ duguma. Ladilikan: Ka da a kan, navbar ye 50px ye.

body { padding-bottom: 70px; }

Aw ye aw jija ka nin don a kɔnɔ Bootstrap CSS koloma kɔfɛ .

Navbar dafalen dɔ Dabɔ min bɛ Taa ni ɲɛ ye ni dɔ farali .navbar-static-topye ani ka a don a .containercɛmancɛ .container-fluidla ani pad navbar kɔnɔkow la.

A tɛ i n’a fɔ .navbar-fixed-*kalanw, i mago t’a la ka padding si Changer sur la body.

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

Navbar cogoya sɛmɛntiya ni farali .navbar-inverseye .

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

Buruburuw

A’ ye ɲɛ min bɛ yen sisan, o yɔrɔ jira navigatiɔn-yɔrɔ dɔ kɔnɔ.

Separatɛriw bɛ fara u yɛrɛma CSS kɔnɔ ka tɛmɛ :beforeani content.

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

Ɲɛjirali sɛbɛnw

I ka ɲɛw jiracogo ladɛrɛsiw di i ka site web walima i ka porogaramu ma ni ɲɛ caman ɲɛfɔli yɔrɔ ye, walima pager alternative nɔgɔman .

Ɲɛnamaya kɛcogo fɔlɔ

Pagenation simple inspiré par Rdio, a ka ɲi kosɛbɛ apps ani ɲinini jaabiw kama. Bloki belebele in ka gɛlɛn ka tɛmɛn, a bɛ se ka sɛgɛsɛgɛ nɔgɔya la, wa a bɛ digi yɔrɔbaw di.

<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>

Labeli kɛli ɲɛw yɔrɔ la

Ɲɛjirali yɔrɔ ka kan ka siri <nav>fɛn dɔ la walasa k’a dɔn i n’a fɔ navigatiɔn yɔrɔ min bɛ se ka kalanbagaw ni dɛmɛ fɛɛrɛ wɛrɛw lajɛ. Ka fara o kan, i n’a fɔ a ka c’a la, ɲɛ dɔ bɛ ni o ɲɔgɔnna taamasiyɛnw dakun caman ye kaban (i n’a fɔ taamasiyɛn fɔlɔ min bɛ kunkanko kɔnɔ, walima kɛrɛfɛla lajɛ), a ka ɲi ka ɲɛfɔli dɔ di aria-labelmin <nav>b’a kuntilenna jira. Misali la, ni ɲɛw yɔrɔ bɛ kɛ ka ɲinini jaabiw kulu dɔ cɛ, taamasiyɛn bɛnnen bɛ se ka kɛ aria-label="Search results pages".

Jamana minnu ye fiyentɔw ye ani minnu bɛ baara la

Lienw bɛ se ka ladilan ka kɛɲɛ ni cogoya wɛrɛw ye. Baara kɛ ni yɔrɔw ye minnu tɛ se .disabledka digi ani .activeka ɲɛ min bɛ yen sisan, o jira.

<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>

An b’a ɲini aw fɛ aw ka ankɔri minnu bɛ baara kɛ walima minnu tɛ baara kɛ, aw ka ankɔriw falen <span>, walima ka ankɔri bɔ a la ni taamasiyɛn tɛmɛnenw/nataw bɛ yen, walasa ka klikɛli baarakɛcogo bɔ yen k’a sɔrɔ aw bɛ cogoya laɲinitaw mara.

<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 (Sizing) kɛ

Fancy ka ɲɛ minnu ka bon walima minnu ka dɔgɔ? Aw bɛ a fara a kan .pagination-lgwalima .pagination-smwalasa ka hakɛ wɛrɛw fara a kan.

<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 ye

Jɛɲɔgɔnya teliyalen tɛmɛnenw ni nataw ɲɛw waleyali nɔgɔmanw kama ni taamasiyɛn yeelenma ani cogoyaw ye. A ka ɲi kosɛbɛ siti nɔgɔmanw ma i n’a fɔ bulɔguw walima zurunali.

Misali dafalen

Ka da a kan, pager (pager) bɛ jɛgɛnw cɛmancɛ la.

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

Ni o tɛ, i bɛ se ka jɛgɛnsira kelen-kelen bɛɛ labɛn ka kɛɲɛ ni kɛrɛw ye:

<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>

Optional disabled state

Pager links fana bɛ baara Kɛ ni general .disabledutility class ye ka Bɔ pagination na.

<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>

Labels (Labɛnw).

Misaliya

Misali la, min tɔgɔ ye ko Kura

Misali la, min tɔgɔ ye ko Kura

Misali la, min tɔgɔ ye ko Kura

Misali la, min tɔgɔ ye ko Kura

Misali la, min tɔgɔ ye ko Kura
Misali la, min tɔgɔ ye ko Kura
<h3>Example heading <span class="label label-default">New</span></h3>

Yɛlɛma minnu bɛ sɔrɔ

Aw bɛ fɛn dɔw fara ɲɔgɔn kan minnu kofɔlen don jukɔrɔ, olu dɔ fara a kan walasa ka labeli dɔ cogoya Changer.

Default Primary Success Info Lakɔlɔsili Farati
<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>

Yala tɔni caman bɛ i bolo wa?

Rendering gɛlɛyaw bɛ se ka sɔrɔ ni i ye inline label tan ni caman sɔrɔ minɛn fitinin dɔ kɔnɔ, u kelen-kelen bɛɛ bɛ ni u yɛrɛ ka inline-blockfɛn ye (i n’a fɔ taamasiyɛn). O siratigɛ la , o ye sigicogo ye display: inline-block;. Walasa ka kuma kɔnɔkow ni misali dɔ sɔrɔ , aw ye #13219 lajɛ .

Badgew (Badges).

Fɛn kuraw walima fɛn minnu ma kalan, olu jira nɔgɔya la ni a farali ye <span class="badge">jɛgɛnw kan, Bootstrap navs ani fɛn wɛrɛw.

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

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

Yɛrɛ bɔgɔbɔgɔli

Ni fɛn kuraw walima fɛn minnu ma kalan, olu tɛ yen, badgew bɛna bin dɔrɔn (CSS ka :emptysugandilikɛlan fɛ) ni kunnafoni si tɛ yen a kɔnɔ.

Cross-browser ka baarakɛcogo ɲuman

Badgew tɛna u yɛrɛ Dòn Internet Explorer 8 kɔnɔ bawo a tɛ dɛmɛ sɔrɔ :emptysugandilikɛla la.

A bɛ ladamu ka kɛɲɛ ni active nav states ye

Fɛɛrɛ minnu bɛ don a kɔnɔ, olu bɛ sɔrɔ walasa ka badge bila jamanaw la minnu bɛ baara la furakisɛw navigatiɔnw kɔnɔ.

<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 ye

Fɛn min ka nɔgɔn, min bɛ se ka wuli ka bɔ a nɔ na, ​​min bɛ se ka filɛlikɛyɔrɔ bɛɛ janya ni i yɛrɛ sago ye walasa ka kunnafoni jɔnjɔnw jira i ka yɔrɔ kan.

Bonjour, diɲɛ!

Nin ye jatigɛwale nɔgɔman ye, jumbotron cogo nɔgɔman yɔrɔ min bɛ kɛ ka mɔgɔw hakili sama ka taa a fɛ ka ɲɛsin kɔnɔkow walima kunnafoniw ma minnu bɛ jira.

Aw ye kunnafoni wɛrɛw sɔrɔ

<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>

Walasa ka jumbotron kɛ a bonya dafalen ye, ani a tɛ kɛ ni nkɔni bulama ye, aw bɛ a bila .containers bɛɛ kɔfɛ ka sɔrɔ ka .containerkɔnɔna dɔ fara a kan.

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

Ɲɛw kuncɛcogo

A simple shell for an h1ka yɔrɔ bɛnnenw Bɔ ani k’u tila-tila yɔrɔ dɔw la ɲɛ dɔ kan. A bɛ Se ka baara Kɛ ni h1's default smallelement ye, ka Fàra a yɔrɔ tɔw fanba kan (ni cogoya wɛrɛw ye).

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

Jaa fitininw

Bootstrap ka jatebɔlan janya ni ja fitininw yɔrɔ ye walasa ka ja, wideyow, sɛbɛnniw ani fɛn wɛrɛw jatebɔlanw jira nɔgɔya la.

N’i ​​bɛ ja fitininw jiracogo ɲini min bɛ i n’a fɔ Pinterest, minnu janya ni/walima u bonya tɛ kelen ye, i bɛna baara kɛ ni mɔgɔ sabanan ka fɛn dɔ ye i n’a fɔ Masonry , Isotope , walima Salvattore .

Misali dafalen

Ka da a kan, Bootstrap ka ja fitininw dabɔra walasa ka ja minnu bɛ ɲɔgɔn kan, olu jira ni taamasiyɛn fitinin wajibiyalenw ye.

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

Kɔnɔkow minnu bɛ kɛ ka kɛɲɛ ni mɔgɔw sago ye

Ni taamaʃyɛn dɔ Fàrala o kan, a bɛ Se ka HTML kɔnɔko sugu bɛɛ Fàra ɲɔgɔn kan i n’a fɔ dakunw, dakunw, walima butɔni minnu bɛ Kɛ ja fitininw na.

100%x200 ye

Label min bɛ kɛ ni ja fitininw ye

Cras justo odio, dapibus ac facilisis in, a ka baara ye ka mɔgɔw kalan. Donec id elit non mi porta gravida ye eget metus ye. Nullam id dolor id nibh ultricies bolifɛnw ut id elit.

Butɔn Butɔn

100%x200 ye

Label min bɛ kɛ ni ja fitininw ye

Cras justo odio, dapibus ac facilisis in, a ka baara ye ka mɔgɔw kalan. Donec id elit non mi porta gravida ye eget metus ye. Nullam id dolor id nibh ultricies bolifɛnw ut id elit.

Butɔn Butɔn

100%x200 ye

Label min bɛ kɛ ni ja fitininw ye

Cras justo odio, dapibus ac facilisis in, a ka baara ye ka mɔgɔw kalan. Donec id elit non mi porta gravida ye eget metus ye. Nullam id dolor id nibh ultricies bolifɛnw ut id elit.

Butɔn Butɔn

<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>

Kɔlɔsiliw

Aw bɛ kunnafoni cikanw di sigida kɔnɔ baarakɛlaw ka walew danmadɔw kama ni lasɔmini cikan damadɔw ye minnu bɛ sɔrɔ ani minnu bɛ se ka wuli ka bɔ u nɔ na.

Misaliw

Aw bɛ sɛbɛn o sɛbɛn siri ani butɔni min bɛ se ka bɔ a la, aw bɛ o siri ani a .alertkɔnɔko kalansen naani dɔ la kelen (misali la, .alert-success) walasa ka lasɔmini cikan jɔnjɔnw sɔrɔ.

Kalanso default tɛ yen

Alerts tɛ ni default classes ye, base ani modifier classes dɔrɔn de bɛ yen. Kɔlɔsili gris default tɛ kɔrɔ caman sɔrɔ, o la a ɲininen bɛ i fɛ i ka suguya dɔ jira contextual class fɛ. Aw bɛ sugandi ka bɔ ɲɛtaa, kunnafoni, lasɔmini, walima farati la.

<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>

Kɔlɔsili minnu bɛ se ka bɔ baara la

Aw bɛ jɔ lasɔmini o lasɔmini kan ni aw ye butɔni dɔ fara a kan min bɛ se ka sugandi .alert-dismissibleani ka da tugu.

A bɛ JavaScript lasɔmini plugin de wajibiya

Walasa ka baara dafalen kɛ, lasɔminiw minnu bɛ se ka bɔ kɛnɛ kan, i ka kan ka baara kɛ ni lasɔminiw ye 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>

Aw ye aw jija ka kɛwale ɲumanw kɛ minɛnw bɛɛ kɔnɔ

Aw ye aw jija ka baara kɛ ni <button>element ye ni data-dismiss="alert"data attribute ye.

Baara kɛ ni .alert-linkutilité class ye walasa ka teliya ka jɛgɛnsira kulɛriw di minnu bɛ bɛn ɲɔgɔn ma lasɔmini o lasɔmini kɔnɔ.

<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>

Ɲɛtaa siraw

Aw bɛ hakilina kuraw di baarakɛcogo walima wale dɔ taabolo kan ni ɲɛtaa taamasiyɛn nɔgɔmanw ye, nka minnu bɛ se ka wuli ka bɔ u nɔ na.

Cross-browser ka baarakɛcogo ɲuman

Progress bars bɛ baara Kɛ ni CSS3 transitions ni animations ye walasa k’u ka nɔ dɔw Sɔrɔ. O fɛnw tɛ se ka kɛ Internet Explorer 9 ni a jukɔrɔla la walima Firefox kɔrɔlenw kɔnɔ. Opera 12 tɛ animationw dɛmɛ.

Kɔnɔkow Lakanali Politiki (CSP) ka baarakɛcogo ɲuman

Ni i ka site web bɛ ni Content Security Policy (CSP) ye min tɛ sɔn style-src 'unsafe-inline', o tuma i tɛna se ka baara kɛ ni inline styleattributes ye walasa ka progress bar widths sigi i n’a fɔ a jiralen bɛ cogo min na an ka misaliw la jukɔrɔ. Fɛɛrɛ wɛrɛ minnu bɛ se ka kɛ ka bonyaw sigi sen kan minnu bɛ bɛn CSP gɛlɛnw ma, olu dɔw ye ka baara kɛ ni JavaScript ladamulen dɔɔnin ye (o bɛ sigi element.style.width) walima ka baara kɛ ni CSS kalasi ladamulenw ye.

Misali jɔnjɔn

Baro min bɛ taa ɲɛ ka taa ɲɛ, o bɛ sɔrɔ.

60% Dafalen don
<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>

Ni label ye

Aw bɛ <span>ni .sr-onlykalansen bɔ ɲɛtaa sɛbɛn kɔnɔ walasa ka kɛmɛsarada la yelen jira.

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

Walasa ka a jira ko labeli sɛbɛnni bɛ to ka kalan hali ni kɛmɛsarada la, a dɔgɔyara, aw bɛ a lajɛ ka a fara min-widthɲɛtaa jiralan kan.

0% ye .
2% ye .
<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>

Fɛn wɛrɛw minnu bɛ kɛ ka ɲɛsin sigida ma

Progress bars bɛ baara kɛ ni butɔni kelen dɔw ye ani lasɔmini kalanw walasa ka cogoyaw kɛ minnu bɛ bɛn ɲɔgɔn ma.

40% Dafalen (ɲɛtaa) .
20% Dafalen don
60% Dafalen (lasɔmini) .
80% Dafalen (farati) .
<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>

A bɛ kɛ ni sɛrɛkiliw ye

A bɛ baara Kɛ ni gradient (gradient) ye walasa ka striped effect (fɔcogo sɛrɛkili) Dabɔ. A tɛ sɔrɔ IE9 ni a jukɔrɔ.

40% Dafalen (ɲɛtaa) .
20% Dafalen don
60% Dafalen (lasɔmini) .
80% Dafalen (farati) .
<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>

Animatɛri ye

A fara a kan .activewalasa .progress-bar-stripedka jiriw ɲɛnamaya kinin fɛ ka taa numan fɛ. A tɛ sɔrɔ IE9 ni a jukɔrɔ.

45% Dafalen don
<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>

A bɛ dalajɛ

Aw bɛ bara caman bila kelen na .progresswalasa k’u fara ɲɔgɔn kan.

35% Dafalen (ɲɛtaa) .
20% Dafalen (lasɔmini) .
10% Dafalen (farati) .
<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>

Media fɛn

Fɛnɲɛnɛma cogoya minnu bɛ kɛ ka fɛn suguya caman jɔ (i n’a fɔ bulɔgu fɔtaw, Tweetw, a ɲɔgɔnnaw) minnu bɛ ja dɔ jira min bɛ tali kɛ kinin fɛ walima kinin fɛ sɛbɛnni kɔnɔkow kɛrɛfɛ.

Media default ye

Media default bɛ media fɛn dɔ jira (jaw, wideyow, lamɛntaw) kɔnɔkow bloki kinin fɛ walima kinin fɛ.

Kunnafonidila kuncɛ

Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye. Fusce condimentum nunc ac nisi jiribolo min bɛ wele ko vulputate fringilla. Donec lacinia congue felis bɛ sɔrɔ faucibus kɔnɔ.

Kunnafonidila kuncɛ

Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye. Fusce condimentum nunc ac nisi jiribolo min bɛ wele ko vulputate fringilla. Donec lacinia congue felis bɛ sɔrɔ faucibus kɔnɔ.

Nested media kunkanko

Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye. Fusce condimentum nunc ac nisi jiribolo min bɛ wele ko vulputate fringilla. Donec lacinia congue felis bɛ sɔrɔ faucibus kɔnɔ.

Kunnafonidila kuncɛ

Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye.

Kunnafonidila kuncɛ

Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye.
<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>

Kalansow .pull-leftani .pull-rightfana bɛ yen ani u tun bɛ baara kɛ ni u ye fɔlɔ i n’a fɔ kunnafonidilanw yɔrɔ dɔ, nka u bɛ baara la o baara kama kabini v3.3.0. U bɛ Bɛn ni .media-leftani .media-right, fo n' o .media-rightka kan ka Blà in kɔ .media-bodyfɛ html kɔnɔ .

Kunnafonidila ka ɲɔgɔnfaamu

Jaw walima kunnafonidilan wɛrɛw bɛ se ka kɛ ɲɔgɔn fɛ sanfɛ, cɛmancɛ walima duguma. Default ye sanfɛ-labɛnni ye.

Sanfɛla labɛnni kunnafonidilanw

Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye. Fusce condimentum nunc ac nisi jiribolo min bɛ wele ko vulputate fringilla. Donec lacinia congue felis bɛ sɔrɔ faucibus kɔnɔ.

Donec sed odio dui ye. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus ni magnis dis parturient montes, nascetur ridiculus mus.

Mediaw minnu bɛ ɲɔgɔn kan cɛmancɛ la

Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye. Fusce condimentum nunc ac nisi jiribolo min bɛ wele ko vulputate fringilla. Donec lacinia congue felis bɛ sɔrɔ faucibus kɔnɔ.

Donec sed odio dui ye. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus ni magnis dis parturient montes, nascetur ridiculus mus.

Mediaw minnu bɛ ɲɔgɔn kan duguma

Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye. Fusce condimentum nunc ac nisi jiribolo min bɛ wele ko vulputate fringilla. Donec lacinia congue felis bɛ sɔrɔ faucibus kɔnɔ.

Donec sed odio dui ye. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus ni magnis dis parturient montes, 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>

Kunnafonidila lisi

Ni markup dɔ farala a kan, i bɛ se ka baara kɛ ni media inside list ye (nafa bɛ sɔrɔ commentaires threads walima articles lists la).

  • Kunnafonidila kuncɛ

    Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye.

    Nested media kunkanko

    Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye.

    Nested media kunkanko

    Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye.

    Nested media kunkanko

    Cras sigilen amet nibh libero, ka gravida nulla. Nulla vel metus scelerisque ka sɔrɔ ka fɛnw ɲini. Cras purus odio, vestibulum min bɛ vulputate kɔnɔ, o ye tempus viverra turpis ye.
<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>

Lisiti kulu

Lisiti kuluw ye fɛn ye min bɛ se ka wuli ka bɔ a nɔ na ani min fanga ka bon walasa ka fɛnw lisi nɔgɔmanw dɔrɔn jira, nka minnu ka gɛlɛn ni kɔnɔkow ye minnu bɛ kɛ ka kɛɲɛ ni mɔgɔw sago ye.

Misali jɔnjɔn

Lisiti kulu jɔnjɔnba ye lisi ye dɔrɔn min ma labɛn ni lisi fɛnw ye, ani kalasi bɛnnenw. Aw bɛ jɔ a kan ni sugandiliw ye minnu bɛ tugu o kɔ, walima aw yɛrɛ ka CSS i n’a fɔ a mago bɛ cogo min na.

  • Cras justo ye odio ye
  • Dapibus ac ka baarakɛyɔrɔw la
  • Morbi leo risus ye
  • Porta ac ye fɛn ye min bɛ se ka kɛ
  • Vestibulum bɛ sɔrɔ eros la
<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>

Badgew (Badges).

Badge component fara list group fɛn o fɛn kan, a bɛna bila a yɛrɛma kinin fɛ.

  • 14 yeCras justo ye odio ye
  • 2 yeDapibus ac ka baarakɛyɔrɔw la
  • 1 yeMorbi leo risus ye
<ul class="list-group">
  <li class="list-group-item">
    <span class="badge">14</span>
    Cras justo odio
  </li>
</ul>

Fɛn minnu bɛ tali kɛ ɲɔgɔn na

Lisiti kulu fɛnw siri ɲɔgɔn na ni baara kɛli ye ni ankɔri taamasiyɛnw ye lisi fɛnw nɔ na (o kɔrɔ fana ye bangebaga ye lisi <div>nɔ na <ul>). Mako tɛ bangebaga kelen-kelen bɛɛ la ka fɛn kelen-kelen bɛɛ lamini.

<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>

Butɔn fɛnw

Lisi kulu fɛnw bɛ se ka kɛ butɔni ye lisi fɛnw nɔ na (o kɔrɔ fana ye bangebaga ye <div>sanni ka kɛ <ul>). Mako tɛ bangebaga kelen-kelen bɛɛ la ka fɛn kelen-kelen bɛɛ lamini. Aw kana baara kɛ ni .btnkalansen jɔnjɔnw ye yan.

<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>

Fɛn minnu bɛ se ka baara kɛ

A fara a kan .disabledka a .list-group-itemkɛ nɛrɛmuguma ye walasa a ka kɛ i n’a fɔ a tɛ se ka baara kɛ.

<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>

Kalanso minnu bɛ kɛ ka ɲɛsin ko kɛlenw ma

Baara kɛ ni contextual classes ye walasa ka style list fɛnw, default walima linked. Jamana fana bɛ o .activela.

  • Dapibus ac ka baarakɛyɔrɔw la
  • Cras sigi amet nibh libero
  • Porta ac ye fɛn ye min bɛ se ka kɛ
  • Vestibulum bɛ sɔrɔ eros la
<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>

Kɔnɔkow minnu bɛ kɛ ka kɛɲɛ ni mɔgɔw sago ye

HTML fɛn o fɛn bɛ Se ka Fàra a kan, hali lisi kulu minnu bɛ ɲɔgɔn kan i n’a fɔ min bɛ duguma.

<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>

Panɛliw

Hali ni a man kan tuma bɛɛ, tuma dɔw la aw ka kan ka aw ka DOM bila kɛsu dɔ kɔnɔ. O kow kama, aw bɛ panneau yɔrɔ lajɛ.

Misali jɔnjɔn

O cogo la, a bɛ min Kɛ o bɛɛ .panelye ka danyɔrɔ jɔnjɔn dɔw Kɛ ani ka padding (dadon) dɔw Kɛ walasa ka kɔnɔkow dɔw Sɔrɔ.

Panɛli basigilen misali
<div class="panel panel-default">
  <div class="panel-body">
    Basic panel example
  </div>
</div>

Panɛli ni kuncɛ

Aw bɛ kuncɛminɛn dɔ fara aw ka panɛli kan nɔgɔya la ni .panel-heading. Aw bɛ se fana ka fɛn o fɛn don <h1>- <h6>ni .panel-titlekalan ye walasa ka kunnafoni dɔ fara a kan min tun labɛnna ka kɔn. <h1>Nka, - sɛbɛnnibolo hakɛw <h6>bɛ wuli ka bɔ u nɔ na ni .panel-heading.

Walasa ka jɛgɛnsira kulɛri ka ɲɛ, aw ye aw jija ka jɛgɛnsira bila barokunw kɔnɔ .panel-title.

Panɛli kuncɛ ni tɔgɔ tɛ
Panɛli kɔnɔkow

Panɛli tɔgɔ

Panɛli kɔnɔkow
<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>

Butɔnw walima sɛbɛnni filananw siri .panel-footer. A kɔlɔsi ko panɛli jukɔrɔla-sɛbɛnw kulɛriw ni dancɛw ciyɛn ta ni baara bɛ kɛ ni ko kɛlenw caman ɲɔgɔnna caman ye bawo u ma dabɔ ka kɛ ɲɛfɛla la.

Panɛli kɔnɔkow
<div class="panel panel-default">
  <div class="panel-body">
    Panel content
  </div>
  <div class="panel-footer">Panel footer</div>
</div>

Fɛn wɛrɛw minnu bɛ kɛ ka ɲɛsin sigida ma

I n’a fɔ yɔrɔ tɔw, nɔgɔya la ka panɛli kɛ kɔrɔ ye ka ɲɛsin sigida kɛrɛnkɛrɛnnen dɔ ma ni sigida cogoya kalasi dɔ farali ye a kan.

Panɛli tɔgɔ

Panɛli kɔnɔkow

Panɛli tɔgɔ

Panɛli kɔnɔkow

Panɛli tɔgɔ

Panɛli kɔnɔkow

Panɛli tɔgɔ

Panɛli kɔnɔkow

Panɛli tɔgɔ

Panɛli kɔnɔkow
<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>

Ni tabali ye

Fɛn o fɛn tɛ dan .tableye, o fara panneau kɔnɔ walasa ka dilancogo ɲuman sɔrɔ. Ni .panel-body, an bɛ dan wɛrɛ Fàra tabali sanfɛla kan walasa ka faranfasi.

Panɛli kuncɛcogo

Panɛli kɔnɔko dɔw bɛ yan. Nulla vitae elit libero, o ye fura ye min bɛ wele ko pharetra augue. Aenean lacinia bibendum ye jiri ye min bɛ sɔrɔ jirisunba la. Aenean eu leo ​​quam. Pellentesque ornare sem lacinia quam venenatis vestibulum (banakisɛfagalan min bɛ wele ko lacinia quam venenatis vestibulum). Nullam id dolor id nibh ultricies bolifɛnw ut id elit.

# Bamako . Tɔgɔ Jamu Baarakɛla tɔgɔ
1 ye Marka Otto ye @mdo ye
2 ye Yakuba Thornton ye @belebeleba
3 ye Larry ye Kɔnɔ in @twitter kan
<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>

Ni panneau farikolo tɛ yen, o yɔrɔ bɛ bɔ panneau kuncɛ la ka taa tabali la k’a sɔrɔ a ma tigɛ.

Panɛli kuncɛcogo
# Bamako . Tɔgɔ Jamu Baarakɛla tɔgɔ
1 ye Marka Otto ye @mdo ye
2 ye Yakuba Thornton ye @belebeleba
3 ye Larry ye Kɔnɔ in @twitter kan
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">Panel heading</div>

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

Ni lisi kuluw ye

Aw bɛ lisi kuluw don nɔgɔya la panneau o panneau kɔnɔ.

Panɛli kuncɛcogo

Panɛli kɔnɔko dɔw bɛ yan. Nulla vitae elit libero, o ye fura ye min bɛ wele ko pharetra augue. Aenean lacinia bibendum ye jiri ye min bɛ sɔrɔ jirisunba la. Aenean eu leo ​​quam. Pellentesque ornare sem lacinia quam venenatis vestibulum (banakisɛfagalan min bɛ wele ko lacinia quam venenatis vestibulum). Nullam id dolor id nibh ultricies bolifɛnw ut id elit.

  • Cras justo ye odio ye
  • Dapibus ac ka baarakɛyɔrɔw la
  • Morbi leo risus ye
  • Porta ac ye fɛn ye min bɛ se ka kɛ
  • Vestibulum bɛ sɔrɔ eros la
<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 min bɛ jaabi di

A to navigatɛriw ka wideyow walima slide jiracogo hakɛw dɔn ka da u kɔnɔfɛnw bloki bonya kan, u kɛtɔ ka ratio intrinsic dɔ dilan min bɛna sɛgɛsɛgɛli kɛ ka ɲɛ minɛn o minɛn kan.

Sariyaw bɛ tali kɛ <iframe>, <embed>, <video>, ani <object>fɛnw kan k’a ɲɛsin u yɛrɛ ma; i b’a fɛ ka baara kɛ ni bɔnsɔn kalasi jɛlen ye .embed-responsive-itemn’i b’a fɛ ka bɛn ni cogoya ye fɛn wɛrɛw kama.

Pro-Tip ye! I man kan ka frameborder="0"don i ka <iframe>s kɔnɔ iko an bɛ o override i ye.

<!-- 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>

Kɔlɔnw

Default ka ɲɛ

Baara kɛ ni kɔlɔn ye i n’a fɔ nɔ nɔgɔman min bɛ kɛ fɛn dɔ kan walasa ka nɔ bila a la.

A filɛ, ne bɛ kɔlɔn dɔ kɔnɔ!
<div class="well">...</div>

Kalanso minnu bɛ kɛ ni i yɛrɛ sago ye

Kontrɔli padding ani rounded corners ni fila optionnel modifier classes.

A filɛ, ne bɛ kɔlɔnba dɔ kɔnɔ!
<div class="well well-lg">...</div>
A filɛ, ne bɛ kɔlɔn fitinin dɔ kɔnɔ!
<div class="well well-sm">...</div>