Amacandelo

Uninzi lwezixhobo ezinokusetyenziswa kwakhona ezakhelwe ukubonelela ngokujonga, izilumkiso, iipopovers, kunye nokunye.

Iintloko phezulu! La maxwebhu ngawe-v2.3.2, engasaxhaswanga ngokusemthethweni. Jonga inguqulelo yamva nje yeBootstrap!

Imizekelo

Iinketho ezimbini ezisisiseko, kunye neenguqulelo ezimbini ezithe ngqo.

Iqela leqhosha elinye

Gquba uthotho lwamaqhosha .btnnge .btn-group.

  1. <div iklasi = "iqela le-btn" >
  2. < iklasi yeqhosha = "btn" > Ekhohlo </ iqhosha>
  3. < iklasi yeqhosha = "btn" > Embindini </ iqhosha>
  4. < iklasi yeqhosha = "btn" > Ekunene </ iqhosha>
  5. </ div>

Amaqela amaqhosha amaninzi

Dibanisa iiseti <div class="btn-group">zibe ngu <div class="btn-toolbar">a kumacandelo anzima ngakumbi.

  1. <div class = "btn-toolbar" >
  2. <div iklasi = "iqela le-btn" >
  3. ...
  4. </ div>
  5. </ div>

Amaqela amaqhosha nkqo

Yenza isethi yamaqhosha abonakale epakishwe ngokuthe nkqo kunokuba uthe tye.

  1. <div class = "btn-group btn-group-vertical" >
  2. ...
  3. </ div>

Ibhokisi yokukhangela kunye neencasa zikanomathotholo

Amaqela amaqhosha anokusebenza njengonomathotholo, apho iqhosha elinye kuphela elinokuthi lisebenze, okanye iibhokisi zokukhangela, apho naliphi na inani lamaqhosha anokusebenza. Jonga iJavaScript amaxwebhu aloo nto.

Ukwehla ngokwamaqela amaqhosha

Iintloko phezulu!Amaqhosha anokwehla kufuneka asongelwe ngokwawo ukuze .btn-groupanikezelwe .btn-toolbarngokufanelekileyo.

Isishwankathelo kunye nemizekelo

Sebenzisa naliphi na iqhosha ukuqalisa imenyu eyehlayo ngokuyibeka ngaphakathi .btn-groupkunye nokubonelela ngophawu olufanelekileyo lwemenyu.

  1. <div iklasi = "iqela le-btn" >
  2. <a class = "btn dropdown-toggle" data-toggle = "dropdown" href = "#">
  3. Isenzo
  4. <span class = "caret" > </ span>
  5. </a>
  6. <ul class = "dropdown-menu" >
  7. <!-- amakhonkco emenyu eyehlayo -->
  8. </ul>
  9. </ div>

Isebenza ngazo zonke iisayizi zamaqhosha

Amaqhosha okwehla asebenza nakuwuphi na ubungakanani: .btn-large, .btn-small, okanye .btn-mini.

Ifuna iJavaScript

Ukuhla kwamaqhosha kufuna iplagin eyehlayo yeBootstrap ukuba isebenze.

Kwezinye iimeko-njengeselfowuni-imenyu eyehlayo iya kwandiswa ngaphandle kwendawo yokujonga. Kufuneka ulungise ulungelelwaniso ngesandla okanye ngeJavaScript yesiko.


Ukwehliswa kweqhosha lokwahlula

Ukwakha kwizimbo zeqela leqhosha kunye nophawu, sinokwenza lula iqhosha lokuhlula. Amaqhosha okwahlula abonisa isenzo esisezantsi ekhohlo kunye nokwehla kokutshintsha ngasekunene ngamakhonkco omxholo.

  1. <div iklasi = "iqela le-btn" >
  2. < iklasi yeqhosha = "btn" > Isenzo </ iqhosha>
  3. < iklasi yeqhosha = "btn dropdown-toggle" data-toggle = "dropdown" >
  4. <span class = "caret" > </ span>
  5. </ iqhosha>
  6. <ul class = "dropdown-menu" >
  7. <!-- amakhonkco emenyu eyehlayo -->
  8. </ul>
  9. </ div>

Ubukhulu

Sebenzisa iiklasi zeqhosha elongezelelweyo .btn-mini, .btn-smallokanye .btn-largeukwenza ubungakanani.

  1. <div iklasi = "iqela le-btn" >
  2. < iklasi yeqhosha = "btn btn-mini" > Isenzo </ iqhosha>
  3. < iklasi yeqhosha = "btn btn-mini dropdown-toggle" data-toggle = "dropdown" >
  4. <span class = "caret" > </ span>
  5. </ iqhosha>
  6. <ul class = "dropdown-menu" >
  7. <!-- amakhonkco emenyu eyehlayo -->
  8. </ul>
  9. </ div>

Iimenyu ezilahliweyo

Iimenu ezilahliweyo zisenokutshintshwa ukusuka ezantsi ukuya phezulu ngokongeza iklasi enye kumzali okhoyo .dropdown-menu. Iza kuflip isalathiso se .caretkwaye iphinde ibeke imenyu ngokwayo ukusuka ezantsi ukuya phezulu endaweni ephezulu ukuya phezulu.

  1. <div class = "i-btn-group dropup" >
  2. < iklasi yeqhosha = "btn" > Ukulahla </ iqhosha>
  3. < iklasi yeqhosha = "btn dropdown-toggle" data-toggle = "dropdown" >
  4. <span class = "caret" > </ span>
  5. </ iqhosha>
  6. <ul class = "dropdown-menu" >
  7. <!-- amakhonkco emenyu eyehlayo -->
  8. </ul>
  9. </ div>

Uluhlu olusemgangathweni

I-pagination elula ephefumlelwe yi-Rdio, ilungile kwii-apps kunye neziphumo zokukhangela. Ibhloko enkulu kunzima ukuyiphosa, kulula ukukala, kwaye ibonelela ngeendawo ezinkulu zokucofa.

  1. <div class = "pagination" >
  2. <ul>
  3. <li><a href = "#"> Ngaphambili </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 = "#"> Okulandelayo </a> </li>
  10. </ul>
  11. </ div>

Iinketho

Iimeko ezikhubazekileyo nezisebenzayo

Unxulumano luyakwazi ukwenzeka kwiimeko ezahlukeneyo. Sebenzisa .disabledamakhonkco angenakucofa kunye .activenokubonisa iphepha langoku.

  1. <div class = "pagination" >
  2. <ul>
  3. <li class = "disabled" ><a href = "#" > « </a></li>
  4. <li iklasi = "esebenzayo" > <a href = "#"> 1 </a></li>
  5. ...
  6. </ul>
  7. </ div>

Ungatshintsha ngokukhetha iiankile ezisebenzayo okanye ezikhubazekileyo zespans ukususa umsebenzi wokucofa ngelixa ugcina izimbo ezicetyiweyo.

  1. <div class = "pagination" >
  2. <ul>
  3. <li iklasi = "abakhubazekileyo" ><span> « </ span> </ li>
  4. <li iklasi = "esebenzayo" ><span> 1 </span></li>
  5. ...
  6. </ul>
  7. </ div>

Ubukhulu

Ngaba ufuna ukwenza i-pagination enkulu okanye encinci? Yongeza .pagination-large, .pagination-small, okanye .pagination-miniiisayizi ezongezelelweyo.

  1. <div class = "pagination-large" >
  2. <ul>
  3. ...
  4. </ul>
  5. </ div>
  6. <div class = "pagination" >
  7. <ul>
  8. ...
  9. </ul>
  10. </ div>
  11. <div class = "pagination-small" >
  12. <ul>
  13. ...
  14. </ul>
  15. </ div>
  16. <div class = "pagination pagination-mini" >
  17. <ul>
  18. ...
  19. </ul>
  20. </ div>

Ulungelelwaniso

Yongeza enye yeeklasi ezimbini ozikhethelayo ukutshintsha ulungelelwaniso lwamakhonkco epagination: .pagination-centeredkunye .pagination-right.

  1. <div class = "i-pagination-centered" >
  2. ...
  3. </ div>
  1. <div class = "pagination-right" >
  2. ...
  3. </ div>

Ipheyija

Iikhonkco ezikhawulezayo zangaphambili kunye nezilandelayo zophumezo olulula lwe-pagination ngophawu olukhanyayo kunye nezitayile. Ilungile kwiziza ezilula ezifana neeblogi okanye iimagazini.

Umzekelo omiselweyo

Ngokungagqibekanga, amaziko e-pageja amakhonkco.

  1. <ul iklasi = "pager" >
  2. <li><a href = "#"> Ngaphambili </a> </li>
  3. <li><a href = "#"> Okulandelayo </a> </li>
  4. </ul>

Amakhonkco alungelelanisiweyo

Kungenjalo, unokulungelelanisa ikhonkco ngalinye emacaleni:

  1. <ul iklasi = "pager" >
  2. <li iklasi = "yangaphambili" >
  3. <a href = "#" > Endala </a>
  4. </ li>
  5. <li iklasi = "elandelayo" >
  6. <a href = "#" > Entsha → </a>
  7. </ li>
  8. </ul>

Ukhetho lwemeko yokukhubazeka

Amakhonkco ePager aphinda asebenzise .disablediklasi eluncedo ngokubanzi ukusuka kwipagination.

  1. <ul iklasi = "pager" >
  2. <li iklasi = "yangaphambili ikhubazekile" >
  3. <a href = "#" > Endala </a>
  4. </ li>
  5. ...
  6. </ul>

Iileyibhile

Iileyibhile IMarkup
Ukuhlala kukho <span class="label">Default</span>
Impumelelo <span class="label label-success">Success</span>
Isilumkiso <span class="label label-warning">Warning</span>
Kubalulekile <span class="label label-important">Important</span>
Ulwazi <span class="label label-info">Info</span>
Inverse <span class="label label-inverse">Inverse</span>

Iibheji

Igama Umzekelo IMarkup
Ukuhlala kukho 1 <span class="badge">1</span>
Impumelelo 2 <span class="badge badge-success">2</span>
Isilumkiso 4 <span class="badge badge-warning">4</span>
Kubalulekile 6 <span class="badge badge-important">6</span>
Ulwazi 8 <span class="badge badge-info">8</span>
Inverse 10 <span class="badge badge-inverse">10</span>

Iqengqeleka ngokulula

Ukuze kuphunyezwe lula, iilebhile kunye neebheji ziyakuwa ngokulula (ngokusebenzisa :emptyumkhethi weCSS) xa kungekho mxholo ukhoyo ngaphakathi.

Iyunithi yeqhawe

Into ekhaphukhaphu, eguquguqukayo yokubonisa umxholo ophambili kwindawo yakho. Isebenza kakuhle kwiindawo zokuthengisa kunye neziqulatho ezinzima.

Molo Lizwe!

Le yiyunithi yeqhawe elilula, icandelo elilula le-jumbotron lokubiza ingqalelo eyongezelelweyo kumxholo ofakiweyo okanye ulwazi.

Funda nzulu

  1. <div class = "iyunithi yeqhawe" >
  2. <h1> Isihloko </ h1>
  3. <p> Umgca wethegi </p>
  4. <p>
  5. <a iklasi = "btn btn-primary btn-large">
  6. Funda nzulu
  7. </a>
  8. </p>
  9. </ div>

Iphepha elingasentla kwekhasi

Iqokobhe elilula h1lesithuba esifanelekileyo kunye namacandelo ecandelo lomxholo kwiphepha. Ingasebenzisa h1okungagqibekanga small, isiqalelo kunye namanye amacandelo amaninzi ( ngezimbo ezongezelelweyo).

  1. <div class = "i-header-page" >
  2. <h1> Umzekelo wephepha elingasentla kwekhasi <small> Umxholo ophantsi weheader </small></h1>
  3. </ div>

I-thumbnails ehlala ikho

Ngokungagqibekanga, ii-thumbnails zeBootstrap ziyilelwe ukubonisa imifanekiso edityanisiweyo enophawu oluncinci olufunekayo.

Iyakwazi ukwenzeka kakhulu

Ngophawu olongezelelweyo olongezelelweyo, kuyenzeka ukongeza naluphi na uhlobo lomxholo we-HTML njengezihloko, imihlathi, okanye amaqhosha kwi-thumbnails.

  • 300x200

    Ileyibhile ye-Thumbnail

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Isenzo Isenzo

  • 300x200

    Ileyibhile ye-Thumbnail

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Isenzo Isenzo

  • 300x200

    Ileyibhile ye-Thumbnail

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Isenzo Isenzo

Kutheni usebenzisa i-thumbnails

Izithonjana (ngaphambili .media-gridukuya kuthi ga kwi-v1.4) zilungile kwiigridi zeefoto okanye iividiyo, iziphumo zokukhangela umfanekiso, iimveliso zokuthengisa, iipotfoliyo, nokunye okuninzi. Zingaba ngamakhonkco okanye umxholo omileyo.

Uphawu olulula, olubhetyebhetye

I-Thumbnail markup ilula-a ulkunye naliphi na inani lezinto liezifunekayo kuphela. Ikwabhetyebhetye kakhulu, ivumela naluphi na uhlobo lomxholo onokumakishwa okuncinci ukusonga imixholo yakho.

Isebenzisa ubungakanani bekholamu yegridi

Okokugqibela, icandelo le-thumbnails lisebenzisa iiklasi zenkqubo yegridi esele ikhona-njenge .span2okanye .span3-ukulawula imilinganiselo ye-thumbnail.

IMarkup

Njengoko bekutshiwo ngaphambili, imarkup efunekayo ye-thumbnails ilula kwaye ithe ngqo. Nalu ujongo kucwangciso olungagqibekanga lwemifanekiso edityanisiweyo :

  1. <ul iklasi = "i-thumbnails" >
  2. <li iklasi = "span4" >
  3. <a href = "#" iklasi = "i-thumbnail"> _
  4. <img data-src = "holder.js/300x200" alt = "" >
  5. </a>
  6. </ li>
  7. ...
  8. </ul>

Ngomxholo we-HTML wesiko kwii-thumbnails, uphawu lutshintsha kancinci. Ukuvumela umxholo womgangatho webhloko naphi na, sitshintshisa i <a>- <div>enje:

  1. <ul iklasi = "i-thumbnails" >
  2. <li iklasi = "span4" >
  3. <div class = "i-thumbnail" >
  4. <img data-src = "holder.js/300x200" alt = "" >
  5. <h3> Ileyibhile ye-Thumbnail </h3>
  6. <p> I-Thumbnail caption... </p>
  7. </ div>
  8. </ li>
  9. ...
  10. </ul>

Eminye imizekelo

Jonga zonke iinketho zakho ngeeklasi ezahlukeneyo zegridi ezifumanekayo kuwe. Ungaphinda udibanise kwaye utshatise ubungakanani obahlukeneyo.

Isilumkiso esihlala sihleli

Vala nasiphi na isicatshulwa kunye neqhosha lokukhupha elikhethiweyo .alertkumyalezo wesilumkiso osisiseko.

Isilumkiso! Eyona nto uyifunayo, awujongeki ulunge kakhulu.
  1. <div class = "isilumkiso" >
  2. < uhlobo lweqhosha = "iqhosha" class = "close" data-dismiss = "alert" > &amaxesha; </ iqhosha>
  3. <strong> Isilumkiso! </strong> Eyona nto ibhetele ukuba ujonge wena ngokwakho, awukhange ulunge kakhulu.
  4. </ div>

Cima amaqhosha

I-Mobile Safari kunye neebrowser ze-Mobile Opera, ukongeza data-dismiss="alert"kuphawu, zifuna href="#"ukugxothwa kwezilumkiso xa usebenzisa <a>ithegi.

  1. <a href = "#" class = "close" data-dismiss = "alert" > &amaxesha; </a>

Kungenjalo, unokusebenzisa into <button>enophawu lwedatha, esikhethe ukuyenzela amaxwebhu ethu. Xa usebenzisa <button>, kufuneka ubandakanye type="button"okanye iifomu zakho azinakungeniswa.

  1. < uhlobo lweqhosha = "iqhosha" class = "close" data-dismiss = "alert" > &amaxesha; </ iqhosha>

Cima izilumkiso ngeJavaScript

Sebenzisa iplagin yezaziso zejQuery ukugxotha ngokukhawuleza nezilumkiso.


Iinketho

Kwimiyalezo emide, nyusa ukhuko phezulu nasezantsi kwesisongelo sesilumkiso ngokongeza .alert-block.

Isilumkiso!

Okona kulungileyo uzitshekishe, awubukeki ulunge kakhulu. I-Nulla vitae elit libero, i-pharetra augue. I-Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

  1. <div iklasi = "i-alert-block block" >
  2. < uhlobo lweqhosha = "iqhosha" class = "close" data-dismiss = "alert" > &amaxesha; </ iqhosha>
  3. <h4> Isilumkiso! </ h4>
  4. Okona kungcono uzihlole, awukho...
  5. </ div>

Iindlela ezizezinye zomxholo

Yongeza iiklasi ozikhethelayo ukutshintsha intsingiselo yesivuseleli.

Impazamo okanye ingozi

Owu khawuleza! Guqula izinto ezimbalwa kwaye uzame ukuthumela kwakhona.
  1. <div class = "impazamo yesilumkiso sesilumkiso" >
  2. ...
  3. </ div>

Impumelelo

Wenze kakuhle! Ufunde ngempumelelo lo myalezo ubalulekileyo wesilumkiso.
  1. <div class = "isilumkiso-impumelelo yesilumkiso" >
  2. ...
  3. </ div>

Ulwazi

Iintloko phezulu! Esi silumkiso sidinga ukuhoywa kwakho, kodwa asibalulekanga kakhulu.
  1. <div iklasi = "i-alert-alert-info" >
  2. ...
  3. </ div>

Imizekelo kunye nophawu

Isiseko

Ibar yenkqubela phambili ehlala ikho enethareyidi ethe nkqo.

  1. <div class = "inkqubela phambili" >
  2. <div class = "bar" style = " wide : 60 %; " ></div>
  3. </ div>

Inemigca

Isebenzisa igradient ukwenza isiphumo esinemigca. Ayifumaneki kwi-IE7-8.

  1. <div class = "inkqubela phambili-imigca" >
  2. <div class = "bar" style = " wide : 20 %; " ></div>
  3. </ div>

Oopopayi

Yongeza ukuphilisa imivumbo ekunene ukuya ekhohlo .active. .progress-stripedAyifumaneki kuzo zonke iinguqulelo ze-IE.

  1. <div class = "inkqubela phambili-imigca esebenzayo" >
  2. <div class = "bar" style = " wide : 40 %; " ></div>
  3. </ div>

Ipakishwe

Beka iibar ezininzi kwindawo enye .progressukuze uzipakishe.

  1. <div class = "inkqubela phambili" >
  2. <div class = "bar-success" style = " wide : 35 %; " ></div>
  3. <div class = "bar-warning" style = " wide : 20 %; " ></div>
  4. <div class = "bar-danger" style = " wide : 10 %; " ></div>
  5. </ div>

Iinketho

Imibala eyongezelelweyo

Imivalo yenkqubela phambili isebenzisa enye iqhosha elifanayo kunye neeklasi zesilumkiso kwizimbo ezihambelanayo.

  1. <div class = "inkqubela phambili-ulwazi" >
  2. <div class = "bar" style = " width : 20 % " ></div>
  3. </ div>
  4. <div class = "inkqubela phambili-impumelelo" >
  5. <div class = "bar" style = " width : 40 % " ></div>
  6. </ div>
  7. <div class = "inkqubela phambili-isilumkiso" >
  8. <div class = "bar" style = " width : 60 % " ></div>
  9. </ div>
  10. <div class = "inkqubela phambili-ingozi" >
  11. <div class = "bar" style = " width : 80 % " ></div>
  12. </ div>

Imivalo enemigca

Ngokufana nemibala eqinileyo, sinemigca eyohlukeneyo yenkqubela phambili.

  1. <div class = "inkqubela phambili-ulwazi lwenkqubela-phambili" >
  2. <div class = "bar" style = " width : 20 % " ></div>
  3. </ div>
  4. <div class = "inkqubela phambili-impumelelo yenkqubela phambili-umtya" >
  5. <div class = "bar" style = " width : 40 % " ></div>
  6. </ div>
  7. <div class = "inkqubela-phambili-isilumkiso senkqubela-phambili enemigca" >
  8. <div class = "bar" style = " width : 60 % " ></div>
  9. </ div>
  10. <div class = "inkqubela phambili-inkqubela phambili-ingozi-imigca" >
  11. <div class = "bar" style = " width : 80 % " ></div>
  12. </ div>

Inkxaso yebhrawuza

Imivalo yenkqubela phambili isebenzisa i-CSS3 gradients, iinguqu, kunye noopopayi ukuphumeza zonke iziphumo zazo. Ezi mpawu azixhaswa kwi-IE7-9 okanye kwiinguqulelo ezindala zeFirefox.

Iinguqulelo ezingaphambi kwe-Internet Explorer 10 kunye ne-Opera 12 azixhasi oopopayi.

Izitayile zento engabonakaliyo yokwakha iindidi ezahlukeneyo zamacandelo (njengamagqabantshintshi eblogi, iiTweets, njalo njalo) ezibonisa umfanekiso osekhohlo okanye olungelelaniswe ekunene ecaleni komxholo wombhalo.

Umzekelo omiselweyo

Imidiya engagqibekanga ivumela ukudada into yemidiya (imifanekiso, ividiyo, iaudio) ukuya ngasekhohlo okanye ngasekunene kwebhloko yomxholo.

64x64

Isihloko semidiya

Cras sit amet nibh libero, in gravida nulla. I-Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. I-Donec lacinia congue felis kwi-faucibus.
64x64

Isihloko semidiya

Cras sit amet nibh libero, in gravida nulla. I-Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. I-Donec lacinia congue felis kwi-faucibus.
64x64

Isihloko semidiya

Cras sit amet nibh libero, in gravida nulla. I-Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. I-Donec lacinia congue felis kwi-faucibus.
  1. <div class = "media" >
  2. < iklasi = "tsala-ekhohlo" href = "#" >
  3. <img class = "media-object" data-src = "holder.js/64x64" >
  4. </a>
  5. <div class = "media-body" >
  6. <h4 class = "media-heading" > Isihloko semidiya </h4>
  7. ...
  8.  
  9. <!-- Into yemidiya ebekwe kwindlwana -->
  10. <div class = "media" >
  11. ...
  12. </ div>
  13. </ div>
  14. </ div>

Uluhlu lwemidiya

Ngophawu olongezelelweyo, ungasebenzisa imidiya engaphakathi kuluhlu (iluncedo kwimisonto yezimvo okanye uludwe lwamanqaku).

  • 64x64

    Isihloko semidiya

    Cras sit amet nibh libero, in gravida nulla. I-Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.

    64x64

    Isihloko semithombo yeendaba

    Cras sit amet nibh libero, in gravida nulla. I-Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
    64x64

    Isihloko semithombo yeendaba

    Cras sit amet nibh libero, in gravida nulla. I-Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
    64x64

    Isihloko semithombo yeendaba

    Cras sit amet nibh libero, in gravida nulla. I-Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
  • 64x64

    Isihloko semidiya

    Cras sit amet nibh libero, in gravida nulla. I-Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
  1. <ul iklasi = "uluhlu lwemidiya" >
  2. <li iklasi = "imidiya" >
  3. < iklasi = "tsala-ekhohlo" href = "#" >
  4. <img class = "media-object" data-src = "holder.js/64x64" >
  5. </a>
  6. <div class = "media-body" >
  7. <h4 class = "media-heading" > Isihloko semidiya </h4>
  8. ...
  9.  
  10. <!-- Into yemidiya ebekwe kwindlwana -->
  11. <div class = "media" >
  12. ...
  13. </ div>
  14. </ div>
  15. </ li>
  16. </ul>

Wells

Sebenzisa iqula njengesiphumo esilula kwi-elementi ukuyinika isiphumo sokufakwa.

Jonga, ndisequleni!
  1. <div iklasi = "kakuhle" >
  2. ...
  3. </ div>

Iiklasi ozikhethelayo

Lawula ukukhuselwa kunye neekona ezingqukuva ngeeklasi ezimbini ozikhethelayo zesilungisi.

Jonga, ndisequleni!
  1. <div iklasi = "inkulu kakuhle" >
  2. ...
  3. </ div>
Jonga, ndisequleni!
  1. <div class = "kakuhle-ncinci" >
  2. ...
  3. </ div>

Vala i icon

Sebenzisa i-ayikhoni yokuvala eqhelekileyo ukugxotha umxholo onjengeemodyuli kunye nezilumkiso.

  1. < iklasi yeqhosha = "vala" > &amaxesha; </ iqhosha>

Izixhobo ze-iOS zifuna isiganeko href="#"sokucofa ukuba ungathanda ukusebenzisa i-ankile.

  1. <a iklasi = "vala" href = "#" > &amaxesha; </a>

Iiklasi zabancedisi

Iiklasi ezilula, ezigxininisiweyo zokubonisa okuncinci okanye ukulungiswa kokuziphatha.

.tsala-ngasekhohlo

Ncanda into ekhohlo

  1. iklasi = "tsala-ngasekhohlo"
  1. . tsala - ekhohlo {
  2. dada : ekhohlo ;
  3. }

.tsala-ekunene

Ncanda into ekunene

  1. iklasi = "tsalela ekunene"
  1. . tsala - ekunene {
  2. dada : ekunene ;
  3. }

.ithulisiwe

Guqula umbala wesiqalelo ube#999

  1. iklasi = "ithulisiwe"
  1. . Thulisiwe {
  2. umbala : #999;
  3. }

.clearfix

Coca iqhosha floatnakweyiphi na into

  1. iklasi = "clearfix"
  1. . lungisa {
  2. sondeza : 1 ; _
  3. &: ngaphambili ,
  4. &: emva {
  5. bonisa : itafile ;
  6. umxholo : "" ;
  7. }
  8. &: emva {
  9. icacile : zombini ;
  10. }
  11. }