Di tin dɛn we de insay di bɔdi

Dɔzin kɔmpɔnɛnt dɛn we dɛn kin yuz bak we dɛn bil fɔ mek pipul dɛn ebul fɔ go na di say we dɛn de go, fɔ mek pipul dɛn no bɔt dɛn, fɔ mek pipul dɛn bɔn, ɛn ɔda tin dɛn.

Hed dɛn de ɔp! Dɛn doks ya na fɔ v2.3.2, we nɔ ɔfishal sɔpɔt igen. Chek di laytst vɛshɔn fɔ Bootstrap!

Ɛgzampul dɛn

Tu besik opshɔn dɛn, wit tu mɔ spɛshal chenj dɛn.

Wan bɔtin grup

Rap wan siriɔs bɔtin dɛn wit .btnin .btn-group.

  1. <div klas = "btn-grup" >
  2. <bɔtin klas = "btn" > Lɛft </bɔtin>
  3. <bɔtin klas = "btn" > Midul </bɔtin>
  4. <bɔtin klas = "btn" > Rayt </bɔtin>
  5. </div> fɔ di wan dɛn we de

Bɔku bɔku bɔtin grup dɛn

Kɔmbayn sɛt dɛn fɔ <div class="btn-group">insay wan <div class="btn-toolbar">fɔ mɔ kɔmpleks kɔmpɔnɛnt dɛn.

  1. <div klas = "btn-tulba" >
  2. <div klas = "btn-grup" >
  3. ...
  4. </div> fɔ di wan dɛn we de
  5. </div> fɔ di wan dɛn we de

Vɛtikal bɔtin grup dɛn

Mek wan sɛt fɔ bɔtin dɛn tan lɛk se dɛn stak dɛn ɔpsayd pas fɔ sho dɛn ɔrizɔntal wan.

  1. <div klas = "btn-grup btn-grup-vɛtikal" >
  2. ...
  3. </div> fɔ di wan dɛn we de

Chekbɔks ɛn redio flawa dɛn

Bɔtin grup dɛn kin wok bak lɛk redio, usay na wan bɔtin nɔmɔ kin wok, ɔ chɛk bɔks dɛn, usay ɛni nɔmba pan di bɔtin dɛn kin wok. Luk di JavaSkript dɔkyumɛnt dɛn fɔ dat.

Drɔpdɔwn dɛn na di bɔtin grup dɛn

Hed dɛn de ɔp!Bɔtin dɛn we gɛt drɔpdɔwn dɛn fɔ rap dɛn wan bay wan .btn-groupinsay wan .btn-toolbarfɔ mek dɛn rɛnd dɛn fayn fayn wan.

Ɔvaviu ɛn ɛgzampul dɛn

Yuz ɛni bɔtin fɔ trig wan drɔpdɔwn mɛnyu bay we yu put am insay wan .btn-groupɛn gi di rayt mɛnyu mak.

  1. <div klas = "btn-grup" >
  2. <a klas = "btn drɔpdɔwn-tɔgl" data-tɔgl = "drɔpdɔwn" href = "#" >
  3. Du
  4. <span klas = "kɛrɛt" ></span>
  5. </a> fɔ di wan dɛn we de
  6. <ul klas = "drɔpdɔwn-mɛnyu" >
  7. <!-- drɔpdɔwn mɛnyu link dɛn -->
  8. </ul> fɔ di wan dɛn we de
  9. </div> fɔ di wan dɛn we de

I de wok wit ɔl di bɔtin saiz dɛn

Di bɔtin dɛn we de drɔp de wok pan ɛni sayz: .btn-large, .btn-small, ɔ .btn-mini.

I nid fɔ gɛt JavaSkript

Bɔtin drɔpdɔwn dɛn nid di Bootstrap drɔpdɔwn plɔgin fɔ wok.

Sɔntɛnde—lɛk mobayl—drɔp-dɔwn mɛnyu dɛn go de na do na di say usay dɛn de si di tin dɛn. Yu nid fɔ sɔlv di alaynɛshɔn wit yu an ɔ wit kɔstɔm JavaSkript.


Split bɔtin dɛn we de drɔp dɔŋ

We wi bil pan di bɔtin grup stayl ɛn mak, wi kin mek wan split bɔtin izi wan. Split bɔtin dɛn gɛt wan standad akshɔn na di lɛft ɛn wan drɔpdɔwn tɔgl na di rayt say wit kɔntɛkstual link dɛn.

  1. <div klas = "btn-grup" >
  2. <bɔtin klas = "btn" > Akshɔn </bɔtin>
  3. <bɔtin klas = "btn drɔpdɔwn-tɔgl" data-tɔgl = "drɔpdɔwn" >
  4. <span klas = "kɛrɛt" ></span>
  5. </bɔtin>
  6. <ul klas = "drɔpdɔwn-mɛnyu" >
  7. <!-- drɔpdɔwn mɛnyu link dɛn -->
  8. </ul> fɔ di wan dɛn we de
  9. </div> fɔ di wan dɛn we de

Sayz dɛn

Yuz di ekstra bɔtin klas dɛn .btn-mini, .btn-small, ɔ .btn-largefɔ sayz.

  1. <div klas = "btn-grup" >
  2. <bɔtin klas = "btn btn-mini" > Akshɔn </bɔtin>
  3. <bɔtin klas = "btn btn-mini drɔpdɔwn-tɔgl" data-tɔgl = "drɔpdɔwn" >
  4. <span klas = "kɛrɛt" ></span>
  5. </bɔtin>
  6. <ul klas = "drɔpdɔwn-mɛnyu" >
  7. <!-- drɔpdɔwn mɛnyu link dɛn -->
  8. </ul> fɔ di wan dɛn we de
  9. </div> fɔ di wan dɛn we de

Di meny dɛn we de drɔp

Yu kin chenj di drɔpdɔwn mɛnyu dɛn bak frɔm di bɔt ɔp bay we yu ad wan klas to di mama ɔ papa we de nia .dropdown-menu. I go flip di dairekshɔn fɔ di .caretɛn ripɔzishɔn di mɛnyu sɛf fɔ muf frɔm di bɔt ɔp instead fɔ muf ɔp dɔŋ.

  1. <div klas = "btn-grup drɔp" >
  2. <bɔtin klas = "btn" > Drɔp ap </bɔtin>
  3. <bɔtin klas = "btn drɔpdɔwn-tɔgl" data-tɔgl = "drɔpdɔwn" >
  4. <span klas = "kɛrɛt" ></span>
  5. </bɔtin>
  6. <ul klas = "drɔpdɔwn-mɛnyu" >
  7. <!-- drɔpdɔwn mɛnyu link dɛn -->
  8. </ul> fɔ di wan dɛn we de
  9. </div> fɔ di wan dɛn we de

Standart pejineshɔn

Simpul pejineshɔn we dɛn inspɛkt frɔm Rdio, fayn fɔ ap ɛn sɔch rizɔlt dɛn. Di big blɔk at fɔ mis, i izi fɔ skel, ɛn i de gi big say dɛn fɔ klik.

  1. <div klas = "pejineshɔn" >
  2. <ul> fɔ di wan dɛn we de
  3. <li><a href = "#" > Di wan dɛn we de bifo </a></li>
  4. <li><a href = "#" > 1 </a></li>
  5. <li><a href = "#" > 2 </a></li>
  6. <li><a href = "#" > 3 </a></li>
  7. <li><a href = "#" > 4 ​​</a></li>
  8. <li><a href = "#" > 5 </a></li>
  9. <li><a href = "#" > Nɛks </a></li>
  10. </ul> fɔ di wan dɛn we de
  11. </div> fɔ di wan dɛn we de

Di tin dɛn we yu kin pik fɔ du

Disabled ɛn aktif stet dɛn

Link dɛn kin kɔstɔmayt fɔ difrɛn tin dɛn. Yuz .disabledfɔ link dɛn we yu nɔ go ebul fɔ klik ɛn .activefɔ sho di pej we yu de yuz naw.

  1. <div klas = "pejineshɔn" >
  2. <ul> fɔ di wan dɛn we de
  3. <li klas = "disabul" ><a href = "#" > « </a></li> fɔ di wan dɛn we de
  4. <li klas = "aktiv" ><a href = "#" > 1 </a></li>
  5. ...
  6. </ul> fɔ di wan dɛn we de
  7. </div> fɔ di wan dɛn we de

Yu kin opshɔnali swap aut aktif ɔ disabled ankɔ fɔ span fɔ pul klik funkshɔnaliti we yu de kip di stayl dɛn we yu want.

  1. <div klas = "pejineshɔn" >
  2. <ul> fɔ di wan dɛn we de
  3. <li klas = "disabul" ><span> « </span></li> fɔ di wan dɛn we de
  4. <li klas = "aktiv" ><span> 1 </span></li>
  5. ...
  6. </ul> fɔ di wan dɛn we de
  7. </div> fɔ di wan dɛn we de

Sayz dɛn

Fans big ɔ smɔl pejineshɔn? Ad .pagination-large, .pagination-small, ɔ .pagination-minifɔ ɔda saiz dɛn.

  1. <div klas = "pejin pejineshɔn-big" >
  2. <ul> fɔ di wan dɛn we de
  3. ...
  4. </ul> fɔ di wan dɛn we de
  5. </div> fɔ di wan dɛn we de
  6. <div klas = "pejineshɔn" >
  7. <ul> fɔ di wan dɛn we de
  8. ...
  9. </ul> fɔ di wan dɛn we de
  10. </div> fɔ di wan dɛn we de
  11. <div klas = "pejin pejineshɔn-smɔl" >
  12. <ul> fɔ di wan dɛn we de
  13. ...
  14. </ul> fɔ di wan dɛn we de
  15. </div> fɔ di wan dɛn we de
  16. <div klas = "pejin pejineshɔn-mini" >
  17. <ul> fɔ di wan dɛn we de
  18. ...
  19. </ul> fɔ di wan dɛn we de
  20. </div> fɔ di wan dɛn we de

Alignmɛnt fɔ di wan dɛn we de

Ad wan pan tu opshɔnal klas dɛn fɔ chenj di alaynɛshɔn fɔ pej link dɛn: .pagination-centeredɛn .pagination-right.

  1. <div klas = "pejineshɔn pejin-sɛntrɛd" >
  2. ...
  3. </div> fɔ di wan dɛn we de
  1. <div klas = "pejin pejineshɔn-rayt" >
  2. ...
  3. </div> fɔ di wan dɛn we de

Peja we de na di pej

Kwik bifo ɛn nɛks link fɔ simpul pej implimɛnt dɛn wit layt mak ɛn stayl dɛn. I fayn fɔ simpul sayt dɛn lɛk blɔk ɔ magazin.

Difɔlt ɛgzampul

Bay difɔlt, di pej de sɛnt di link dɛn.

  1. <ul klas = "peja" >
  2. <li><a href = "#" > Di wan dɛn we bin dɔn de bifo </a></li>
  3. <li><a href = "#" > Nɛks </a></li>
  4. </ul> fɔ di wan dɛn we de

Links dɛn we dɛn dɔn alaynɛd

Ɔda we de fɔ du dat, yu kin alaynɛd ​​ɛni link to di sayd dɛn:

  1. <ul klas = "peja" >
  2. <li klas = "we bin de bifo" >
  3. <a href = "#" > ɛn di wan dɛn we de na di wɔl. Di wan dɛn we dɔn ol </a>
  4. </li> fɔ di wan dɛn we de
  5. <li klas = "nɛks" >
  6. <a href = "#" > Nyu wan → </a> fɔ di wan dɛn we de
  7. </li> fɔ di wan dɛn we de
  8. </ul> fɔ di wan dɛn we de

Opshɔnal disabled stet

Peja link dɛn de yuz bak di jenɛral .disabledyutiliti klas frɔm di pejeshɔn.

  1. <ul klas = "peja" >
  2. <li klas = "bifo disabled" >
  3. <a href = "#" > ɛn di wan dɛn we de na di wɔl. Di wan dɛn we dɔn ol </a>
  4. </li> fɔ di wan dɛn we de
  5. ...
  6. </ul> fɔ di wan dɛn we de

Lebul dɛn

Lebul dɛn Mak-ap fɔ di tin dɛn we de apin
Balans <span class="label">Default</span>
Go bifo <span class="label label-success">Success</span>
Wɔnin <span class="label label-warning">Warning</span>
Impɔtant <span class="label label-important">Important</span>
Info <span class="label label-info">Info</span>
Invas fɔ di Baybul <span class="label label-inverse">Inverse</span>

Badge dɛn we dɛn kin yuz

Nem Ɛgzampul Mak-ap fɔ di tin dɛn we de apin
Balans 1. Di wan dɛn we de <span class="badge">1</span>
Go bifo 2. Di wan dɛn we de <span class="badge badge-success">2</span>
Wɔnin 4. Di wan dɛn we de <span class="badge badge-warning">4</span>
Impɔtant 6. Di wan dɛn we de <span class="badge badge-important">6</span>
Info 8. Di wan dɛn we de <span class="badge badge-info">8</span>
Invas fɔ di Baybul 10. Di wan dɛn we de <span class="badge badge-inverse">10</span>

I izi fɔ mek pɔsin fɔdɔm

Fɔ mek i izi fɔ impruv, lɛbl ɛn badge dɛn go jɔs kolap (via CSS in :emptysɛlɛktɔ) we nɔ kɔntinyu nɔ de insay.

Hiro yunit

Wan layt, fleksibul kɔmpɔnɛnt fɔ sho di men tin dɛn na yu sayt. I de wok fayn pan sayt dɛn we gɛt bɔku bɔku tin dɛn fɔ sɛl ɛn we gɛt bɔku tin dɛn fɔ du.

Halo, wɔl!

Dis na simpul hiro yunit, wan simpul jumbotron-stayl kɔmpɔnɛnt fɔ kɔl ɛkstra atɛnshɔn to fichu kɔntinyu ɔ infɔmeshɔn.

Lan mɔ bɔt dis

  1. <div klas = "hiro-yunit" >
  2. <h1> Ɛd fɔ </h1>
  3. <p> Taglayn </p>
  4. <p> fɔ di wan dɛn we de
  5. <a klas = "btn btn-praymari btn-big" >
  6. Lan mɔ bɔt dis
  7. </a> fɔ di wan dɛn we de
  8. </p>we de sho aw fɔ du dat
  9. </div> fɔ di wan dɛn we de

Di pej we de na di pej

Wan simpul shel fɔ wan h1fɔ apɔpriet spɛs aut ɛn sɛgmɛnt sɛkshɔn dɛn fɔ kɔntinyu na wan pej. I kin yuz di h1's difɔlt small, ɛlimɛnt ɛn mɔs ɔda kɔmpɔnɛnt dɛn (wit ɔda stayl dɛn).

  1. <div klas = "pej-hɛda" >
  2. <h1> Ɛgzampul pej hεda <small> Sabtɛks fɔ hεda </small></h1>
  3. </div> fɔ di wan dɛn we de

Difɔlt smɔl pikchɔ dɛn

Bay difɔlt, dɛn mek Bootstrap in smɔl pikchɔ dɛn fɔ sho pikchɔ dɛn we gɛt link wit smɔl mak we dɛn nid.

I rili kɔstɔmayz

Wit smɔl ɛkstra mak, i pɔsibul fɔ ad ɛni kayn HTML kɔntinyu lɛk ɛd, paregraf, ɔ bɔtin dɛn insay smɔl pikchɔ dɛn.

  • 300x200 fɔ di wan dɛn

    Lebul fɔ di smɔl pikchɔ dɛn

    Kras jɔsto odio, dapibus asid fasilisis in, egestas eget quam. Donec id elit non mi porta gravida na eget metus. Nullam id dolor id nibh ultrisis vehikula ut id elit.

    Du Du

  • 300x200 fɔ di wan dɛn

    Lebul fɔ di smɔl pikchɔ dɛn

    Kras jɔsto odio, dapibus asid fasilisis in, egestas eget quam. Donec id elit non mi porta gravida na eget metus. Nullam id dolor id nibh ultrisis vehikula ut id elit.

    Du Du

  • 300x200 fɔ di wan dɛn

    Lebul fɔ di smɔl pikchɔ dɛn

    Kras jɔsto odio, dapibus asid fasilisis in, egestas eget quam. Donec id elit non mi porta gravida na eget metus. Nullam id dolor id nibh ultrisis vehikula ut id elit.

    Du Du

Wetin mek yu yuz smɔl pikchɔ dɛn

Thumbnails (we bin de bifo .media-gridte to v1.4) fayn fɔ grid dɛn fɔ foto ɔ fim dɛn, pikchɔ sɔch rizɔlt dɛn, rital prɔdak dɛn, pɔtfolio dɛn, ɛn bɔku ɔda tin dɛn. Dɛn kin bi link ɔ statik kɔntinyu.

Simpul, fleksibul mak-ap

Thumbnail markup na simpul tin—a ulwit ɛni nɔmba fɔ di liɛlimɛnt dɛn na ɔl wetin dɛn nid. I de tu supa fleksibul, alaw fɔ ɛni kayn kɔntinyu wit jɔs smɔl mɔ mak fɔ rap yu kɔntinyu.

Yuz grid kɔlɔm saiz dɛn

Las wan, di thumbnails kɔmpɔnɛnt de yuz di grid sistem klas dɛn we dɔn de—lɛk .span2ɔ.span3 —fɔ kɔntrol di thumbnail dimɛnshɔn dɛn.

Mak-ap fɔ di tin dɛn we de apin

As wi bin dɔn tɔk, di mak we dɛn nid fɔ mek di smɔl pikchɔ dɛn layt ɛn i nɔ izi fɔ yuz. Na dis na wan luk pan di difɔlt sɛtup fɔ linked pikchɔ dɛn :

  1. <ul klas = "smɔl pikchɔ dɛn" >
  2. <li klas = "span4" >
  3. <a href = "#" klas = "smɔl pikchɔ" >
  4. <img data-src = "hɔlda.js/300x200" alt = "" >
  5. </a> fɔ di wan dɛn we de
  6. </li> fɔ di wan dɛn we de
  7. ...
  8. </ul> fɔ di wan dɛn we de

Fɔ kɔstɔm HTML kɔntinyu insay smɔl pikchɔ dɛn, di mak kin chenj smɔl. Fɔ alaw blɔk lɛvɛl kɔntinyu ɛnisay, wi de swap di <a>fɔ wan <div>lɛk so:

  1. <ul klas = "smɔl pikchɔ dɛn" >
  2. <li klas = "span4" >
  3. <div klas = "smɔl pikchɔ" >
  4. <img data-src = "hɔlda.js/300x200" alt = "" >
  5. <h3> Lɛbul fɔ di smɔl pikchɔ dɛn </h3>
  6. <p> Di smɔl pikchɔ dɛn kapshɔn... </p>
  7. </div> fɔ di wan dɛn we de
  8. </li> fɔ di wan dɛn we de
  9. ...
  10. </ul> fɔ di wan dɛn we de

Mɔ ɛgzampul dɛn

Eksplɔrɔ ɔl yu opshɔn dɛn wit di difrɛn grid klas dɛn we de fɔ yu. Yu kin miks ɛn mach difrɛn sayz dɛn bak.

Difɔlt alɛt fɔ di wan dɛn we de

Rap ɛni tɛks ɛn wan opshɔnal dismis bɔtin insay .alertfɔ wan bɛsik wɔnin alɛt mɛsej.

Wɔnin! Best check yo self, yu no luk tu gud.
  1. <div klas = "alɛt" >
  2. <bɔtin tayp = "bɔtin" klas = "klos" data-dismiss = "alɛt" > &tayms; </bɔtin>
  3. <strong> Na wɔnin! </strong> Best check yo self, yu no de luk tu gud.
  4. </div> fɔ di wan dɛn we de

Dismis di bɔtin dɛn

Mobayl Safari ɛn Mobayl Ɔpa brawza dɛn, apat frɔm di data-dismiss="alert"atribyut, nid fɔ gɛt href="#"fɔ dismis di alɛt dɛn we dɛn de yuz wan <a>tag.

  1. <a href = "#" klas = "klos" data-dismis = "alɛt" > &tayms; </a> fɔ di wan dɛn we de

Ɔda we de fɔ du dat, yu kin yuz wan <button>ɛlimɛnt wit di data atribyut, we wi dɔn pik fɔ du fɔ wi dɔkyumɛnt dɛn. We yu de yuz <button>, yu fɔ put type="button"am ɔ yu fɔm dɛn nɔ go sɛn.

  1. <bɔtin tayp = "bɔtin" klas = "klos" data-dismiss = "alɛt" > &tayms; </bɔtin>

Dismis alɛt dɛn bay JavaSkript

Yuz di alɛt dɛn jQuery plɔgin fɔ kwik ɛn izi fɔ dismis di alɛt dɛn.


Di tin dɛn we yu kin pik fɔ du

Fɔ mɛsej dɛn we lɔng, mek di pad we de ɔp ɛn dɔŋ di alɛt wrap bɔku bay we yu ad .alert-block.

Wɔnin!

Best check yo self, yu no de luk tu gud. Nulla vitae elit libero, we na wan pharetra augu. Praesent commodo cursus magna, vel scelerisk nisl kɔnsɛkt ɛn.

  1. <div klas = "alɛt alert-blɔk" >
  2. <bɔtin tayp = "bɔtin" klas = "klos" data-dismiss = "alɛt" > &tayms; </bɔtin>
  3. <h4> Na wɔnin! </h4> fɔ di wan dɛn we de
  4. Best check yo self, yu no...
  5. </div> fɔ di wan dɛn we de

Di ɔda we dɛn we dɛn kin yuz fɔ tɔk bɔt di kɔntɛks

Ad opshɔnal klas dɛn fɔ chenj wan alɛt in kɔnotashɔn.

Mistek ɔ denja

Oh snap! Chenj sɔm tin dɛn ɔp ɛn tray fɔ sɛn am bak.
  1. <div klas = "alɛt alert-ɛrɔd" >
  2. ...
  3. </div> fɔ di wan dɛn we de

Go bifo

Wɛl dɔn! Yu rid dis impɔtant mɛsej fɔ wɔn yu fayn fayn wan.
  1. <div klas = "alɛt alert-sakses" >
  2. ...
  3. </div> fɔ di wan dɛn we de

Tin dɛn

Hed dɛn de ɔp! Dis alert nid yu atɛnshɔn, bɔt i nɔ rili impɔtant.
  1. <div klas = "alɛt alɛt-infɔ" >
  2. ...
  3. </div> fɔ di wan dɛn we de

Ɛgzampul dɛn ɛn mak-ap

Men

Difɔlt prɔgrɛs bar wit wan vertikal grɛdiɛnt.

  1. <div klas = "prɔgrɛs" >
  2. <div klas = "bar" stayl = " wit : 60 %; " ></div>
  3. </div> fɔ di wan dɛn we de

Striped we gɛt strɛp

Yuz wan gradient fɔ mek wan strɛp ifɛkt. Nɔ de na IE7-8.

  1. <div klas = "prɔgrɛs prɔgrɛs-strip" >
  2. <div klas = "bar" stayl = " wit : 20 %; " ></div>
  3. </div> fɔ di wan dɛn we de

Animashɔn we dɛn mek

Add .activeto .progress-stripedfɔ animate di strɛp dɛn rayt to lɛft. Nɔ de insay ɔl di vɛshɔn dɛn fɔ IE.

  1. <div klas = "prɔgrɛs prɔgrɛs-strip aktiv" >
  2. <div klas = "bar" stayl = " wit : 40 %; " ></div>
  3. </div> fɔ di wan dɛn we de

Dɛn dɔn stak am

Put bɔku bɔku bar dɛn insay di sem .progressfɔ stak dɛn.

  1. <div klas = "prɔgrɛs" >
  2. <div klas = "bar bar-sakses" stayl = " wit : 35 %; " ></div>
  3. <div klas = "bar bar-wɔnin" stayl = " wit : 20 %; " ></div>
  4. <div klas = "bar bar-denja" stayl = " wit : 10 %; " ></div>
  5. </div> fɔ di wan dɛn we de

Di tin dɛn we yu kin pik fɔ du

Ɔda kɔlɔ dɛn

Progrɛs bar dɛn de yuz sɔm pan di sem bɔtin ɛn alɛt klas dɛn fɔ stayl dɛn we nɔ de chenj.

  1. <div klas = "prɔgrɛs prɔgrɛs-info" >
  2. <div klas = "bar" stayl = " wit : 20 % " ></div>
  3. </div> fɔ di wan dɛn we de
  4. <div klas = "prɔgrɛs prɔgrɛs-sakses" >
  5. <div klas = "bar" stayl = " wit : 40 % " ></div>
  6. </div> fɔ di wan dɛn we de
  7. <div klas = "prɔgrɛs prɔgrɛs-wɔnin" >
  8. <div klas = "bar" stayl = " wit : 60 % " ></div>
  9. </div> fɔ di wan dɛn we de
  10. <div klas = "prɔgrɛs prɔgrɛs-denja" >
  11. <div klas = "bar" stayl = " wit : 80 % " ></div>
  12. </div> fɔ di wan dɛn we de

Bar dɛn we gɛt strɛp

Semweso lɛk di sɔlid kɔlɔ dɛn, wi gɛt difrɛn strɛp prɔgrɛs bar dɛn.

  1. <div klas = "prɔgrɛs prɔgrɛs-info prɔgrɛs-strip" >
  2. <div klas = "bar" stayl = " wit : 20 % " ></div>
  3. </div> fɔ di wan dɛn we de
  4. <div class = "prɔgrɛs prɔgrɛs-sakses prɔgrɛs-strip" >
  5. <div klas = "bar" stayl = " wit : 40 % " ></div>
  6. </div> fɔ di wan dɛn we de
  7. <div class = "prɔgrɛs prɔgrɛs-wɔnin prɔgrɛs-strip" >
  8. <div klas = "bar" stayl = " wit : 60 % " ></div>
  9. </div> fɔ di wan dɛn we de
  10. <div class = "prɔgrɛs prɔgrɛs-denja prɔgrɛs-strip" >
  11. <div klas = "bar" stayl = " wit : 80 % " ></div>
  12. </div> fɔ di wan dɛn we de

Brawza sɔpɔt

Progres bar dɛn de yuz CSS3 gradient, transishɔn, ɛn animashɔn fɔ ajɔst ɔl dɛn ifɛkt dɛn. Dɛn tin ya nɔ de sɔpɔt na IE7-9 ɔ ol wan dɛn fɔ Fayafaks.

Di vɛshɔn dɛn we bin de bifo Intanɛt Ɛksplɔrɔ 10 ɛn Ɔpa 12 nɔ de sɔpɔt animashɔn dɛn.

Abstrakt ɔbjɛkt stayl fɔ bil difrɛn kayn kɔmpɔnɛnt dɛn (lɛk blɔk kɔmɛnt, Twit, ɛn ɔda tin dɛn) we gɛt pikchɔ we dɛn alaynɛd ​​na di lɛft ɔ rayt nia di tɛkstual kɔntinyu.

Difɔlt ɛgzampul

Di difɔlt midia de alaw fɔ flot wan midia ɔbjɛkt (imej, vidio, odio) na di lɛft ɔ rayt say na wan kɔntinyu blɔk.

64x64 we de sho

Midia edlayn

Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisk ante sollisitudin komodo. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis. Fusce kondimɛnt nunc ac nisi vulputate fringila. Donec lacinia congue felis na di faucibus.
64x64 we de sho

Midia edlayn

Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisk ante sollisitudin komodo. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis. Fusce kondimɛnt nunc ac nisi vulputate fringila. Donec lacinia congue felis na di faucibus.
64x64 we de sho

Midia edlayn

Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisk ante sollisitudin komodo. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis. Fusce kondimɛnt nunc ac nisi vulputate fringila. Donec lacinia congue felis na di faucibus.
  1. <div klas = "midia" >
  2. <a klas = "pul-lɛft" href = "#" >
  3. <img klas = "midia-ɔbjɛkt" data-src = "hɔlda.js/64x64" >
  4. </a> fɔ di wan dɛn we de
  5. <div klas = "midia-bɔdi" >
  6. <h4 klas = "midia-hɛdin" > Midia ɛd </h4>
  7. ...
  8.  
  9. <!-- Nɛst midia ɔbjɛkt -->
  10. <div klas = "midia" >
  11. ...
  12. </div> fɔ di wan dɛn we de
  13. </div> fɔ di wan dɛn we de
  14. </div> fɔ di wan dɛn we de

Lis fɔ di midia

Wit smɔl ɛkstra mak, yu kin yuz midia insay list (yuzful fɔ kɔmɛnt trɛd ɔ atikul list).

  • 64x64 we de sho

    Midia edlayn

    Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisk ante sollisitudin komodo. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis.

    64x64 we de sho

    Nested midia edlayn

    Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisk ante sollisitudin komodo. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis.
    64x64 we de sho

    Nested midia edlayn

    Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisk ante sollisitudin komodo. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis.
    64x64 we de sho

    Nested midia edlayn

    Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisk ante sollisitudin komodo. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis.
  • 64x64 we de sho

    Midia edlayn

    Kras sidon amet nibh libero, in gravida nulla. Nulla vel metus scelerisk ante sollisitudin komodo. Kras purus odio, vestibulum in vulputate na, tempus viverra turpis.
  1. <ul klas = "midia-list" >
  2. <li klas = "midia" >
  3. <a klas = "pul-lɛft" href = "#" >
  4. <img klas = "midia-ɔbjɛkt" data-src = "hɔlda.js/64x64" >
  5. </a> fɔ di wan dɛn we de
  6. <div klas = "midia-bɔdi" >
  7. <h4 klas = "midia-hɛdin" > Midia ɛd </h4>
  8. ...
  9.  
  10. <!-- Nɛst midia ɔbjɛkt -->
  11. <div klas = "midia" >
  12. ...
  13. </div> fɔ di wan dɛn we de
  14. </div> fɔ di wan dɛn we de
  15. </li> fɔ di wan dɛn we de
  16. </ul> fɔ di wan dɛn we de

Wɛls

Yuz di wɛl as simpul ifɛkt pan wan ɛlimɛnt fɔ gi am insɛt ifɛkt.

Luk, a de insay wan wɛl!
  1. <div klas = "wɛl" >
  2. ...
  3. </div> fɔ di wan dɛn we de

Klas dɛn we yu kin pik

Kontrol padding ɛn rawnd kɔna dɛn wit tu opshɔnal modifya klas dɛn.

Luk, a de insay wan wɛl!
  1. <div klas = "wɛl wɛl-big" >
  2. ...
  3. </div> fɔ di wan dɛn we de
Luk, a de insay wan wɛl!
  1. <div klas = "wɛl wɛl-smɔl" >
  2. ...
  3. </div> fɔ di wan dɛn we de

Klos di aykɔn

Yuz di jenɛrik klos aykɔn fɔ dismis kɔntinyu lɛk modal ɛn alɛt.

  1. <bɔtin klas = "klos" > &tayms; </bɔtin>

iOS divays dɛn nid fɔ gɛt href="#"fɔ klik ivin if yu go lɛk fɔ yuz ankɔ.

  1. <a klas = "klos" href = "#" > &taym dɛn; </a> fɔ di wan dɛn we de

Ɛpman klas dɛn

Simpul, fɔs klas fɔ smɔl displei ɔ bihayvya tweaks.

.pul-lɛft

Flot wan ɛlimɛnt lɛft

  1. klas = "pul-lɛft".
  1. . pul - lɛft { .
  2. flot : na di lɛft ;
  3. } .

.pul-rayt

Flot wan ɛlimɛnt rayt

  1. klas = "pul-rayt".
  1. . pul - rayt { .
  2. flot : rayt ;
  3. } .

.mut fɔ tɔk

Chenj wan ɛlimɛnt in kɔlɔ to#999

  1. klas = "we dɛn dɔn mut".
  1. . muted { .
  2. kɔlɔ : #999;
  3. } .

.kliafiks

Klir di floatpan ɛni ɛlimɛnt

  1. klas = "kliafiks".
  1. . kliafiks { .
  2. * zoom : 1 we yu de yuz ;
  3. &: bifo , .
  4. &: afta {
  5. displei : tebul ;
  6. kɔntinyu : "" ;
  7. } .
  8. &: afta {
  9. klia : ɔl tu ;
  10. } .
  11. } .