SourceAmakhadi
Amakhadi e-Bootstrap abonelela ngesikhongozeli somxholo esiguquguqukayo kunye nesandisiweyo esinezinto ezininzi ezahlukeneyo kunye neenketho.
Ikhadi sisikhongozeli somxholo esibhetyebhetye kwaye esandisiweyo . Ibandakanya iinketho zemibhalo engasentla kwekhasi kunye nemibhalo engezantsi, uluhlu olubanzi lomxholo, imibala yangasemva yomxholo, kunye nokhetho olunamandla lokubonisa. Ukuba uqhelene neBootstrap 3, amakhadi athatha indawo yeepaneli zethu ezindala, amaqula, kunye ne-thumbnails. Ukusebenza okufanayo naloo macandelo kuyafumaneka njengeeklasi zesilungisi samakhadi.
Amakhadi akhiwe ngophawu oluncinci kunye nezitayile kangangoko kunokwenzeka, kodwa asakwazi ukuhambisa itoni yolawulo kunye nokwenza ngokwezifiso. Yakhelwe nge-flexbox, inikezela ngolungelelwaniso olulula kwaye ixube kakuhle namanye amacandelo e-Bootstrap. Abanayo margin
ngokungagqibekanga, ngoko ke sebenzisa izixhobo zokubeka izithuba njengoko kufuneka.
Ngezantsi umzekelo wekhadi elisisiseko elinomxholo oxubileyo kunye nobubanzi obusisigxina. Amakhadi akanalo ububanzi obumiselweyo ukuqala, ngoko baya kugcwalisa ububanzi obupheleleyo bento yomzali wayo. Oku kulungelelaniswa ngokulula ngeendlela zethu ezahlukeneyo zokulinganisa .
Isihloko sekhadi
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Yiya kwenye indawo
Amakhadi axhasa uluhlu olubanzi lomxholo, kubandakanywa imifanekiso, umbhalo, amaqela oluhlu, amakhonkco, kunye nokunye. Apha ngezantsi kukho imizekelo yezinto ezixhaswayo.
Ibhloko yokwakha yekhadi yi .card-body
. Yisebenzise nanini na ufuna icandelo elikhuselweyo ngaphakathi kwekhadi.
Le yenye isicatshulwa ngaphakathi kumzimba wekhadi.
Izihloko, umbhalo, kunye namakhonkco
.card-title
Izihloko zekhadi zisetyenziswa ngokudibanisa <h*>
kwithegi. Ngendlela efanayo, amakhonkco ongezwa kwaye abekwe ecaleni komnye nomnye ngokudibanisa .card-link
kwithegi <a>
.
Imibhalo engezantsi isetyenziswa ngokongeza .card-subtitle
u-a <h*>
kwithegi. Ukuba i .card-title
kunye .card-subtitle
nezinto zifakwe .card-body
kwinto, isihloko sekhadi kunye nesihlokwana zilungelelaniswe kakuhle.
Isihloko sekhadi
Isihlokwana sekhadi
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Ikhonkco lekhadi
Enye ikhonkco
.card-img-top
ibeka umfanekiso phezulu ekhadini. Nge .card-text
, okubhaliweyo kunokongezwa kwikhadi. Okubhaliweyo ngaphakathi .card-text
kungenziwa kwakhona ngeendlela eziqhelekileyo zeethegi zeHTML.
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Yenza uluhlu lwesiqulatho kwikhadi kunye neqela loluhlu olugungxulwayo.
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum kunye eros
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum kunye eros
Hlanganisa kwaye utshatise iintlobo ezininzi zomxholo ukwenza ikhadi olifunayo, okanye ulahle yonke into apho. Kuboniswe ngezantsi izimbo zemifanekiso, iibhloko, izimbo zokubhaliweyo, kunye neqela loluhlu-zonke zisongelwe kwikhadi elinobubanzi obusisigxina.
Isihloko sekhadi
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum kunye eros
Yongeza iheader ozikhethelayo kunye/okanye ifooter ngaphakathi kwekhadi.
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Iintloko zekhadi zinokubhalwa ngokongeza .card-header
kwizinto <h*>
.
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Lorem ipsum dolor sit amet, consectetur adipiscing elit. I-integer posuere erat ante.
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Amakhadi athatheli ngqalelo width
ukuba aqale, ngoko ke aya kuba 100% ububanzi ngaphandle kokuba kuchazwe ngenye indlela. Ungatshintsha oku njengoko kufuneka ngeCSS yesiko, iiklasi zegridi, imixube yegridi yeSass, okanye izinto eziluncedo.
Ukusebenzisa uphawu lwegridi
Usebenzisa igridi, songela amakhadi ngokweekholamu kunye nemiqolo njengoko kufuneka.
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Ukusebenzisa izinto eziluncedo
Sebenzisa izixhobo zethu ezimbalwa ezifumanekayo zokulinganisa ukuseta ngokukhawuleza ububanzi bekhadi.
Isihloko sekhadi
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Iqhosha
Isihloko sekhadi
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Iqhosha
Ukusebenzisa i-CSS eqhelekileyo
Sebenzisa i-CSS yesiko kushiti lwakho lwesimbo okanye njengezimbo ezingaphakathi ukuseta ububanzi.
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Ungatshintsha ngokukhawuleza ulungelelwaniso lombhalo lwalo naliphi na ikhadi—liphelele okanye lilonke okanye iindawo ezithile—kunye neeklasi zethu zokulungelelanisa okubhaliweyo .
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Yongeza ukukhangela kwiheda yekhadi (okanye ibhlokhi) enezixhobo ze-Bootstrap ze- nav .
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Unyango lwesihloko esikhethekileyo
Ngesicatshulwa esixhasayo esingezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Yiya kwenye indawo
Amakhadi abandakanya iinketho ezimbalwa zokusebenza ngemifanekiso. Khetha ekuhlomeleni "iminqwazi yomfanekiso" nakweyiphi na isiphelo sekhadi, ugqume imifanekiso enomxholo wekhadi, okanye ubethelele nje umfanekiso ekhadini.
Ngokufana neeheader kunye neefooter, amakhadi anokubandakanya phezulu nangaphantsi "ii-image caps" -imifanekiso engaphezulu okanye ephantsi kwekhadi.
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Lo mxholo umde kancinane.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Lo mxholo umde kancinane.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Guqula umfanekiso ube ngasemva kwekhadi kwaye waleke isicatshulwa sekhadi lakho. Ngokuxhomekeke kumfanekiso, unokufuna okanye ungadingi izitayile ezongezelelweyo okanye izinto eziluncedo.
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Lo mxholo umde kancinane.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Amakhadi abandakanya iindlela ezahlukeneyo zokukhetha ukwenza imvelaphi yabo, imida kunye nombala.
Sebenzisa okubhaliweyo kunye nezinto ezingasemva ukuze utshintshe inkangeleko yekhadi.
Isihloko sekhadi lokuqala
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lesibini
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lempumelelo
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lengozi
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lesilumkiso
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lolwazi
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi elikhanyayo
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi elimnyama
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Ukuhambisa intsingiselo kwiiteknoloji ezincedisayo
Ukusebenzisa umbala ukongeza intsingiselo kubonelela kuphela ngesalathiso esibonakalayo, esingayi kuthunyelwa kubasebenzisi betekhnoloji encedisayo - njengezifundi zesikrini. Qinisekisa ukuba ulwazi olubonakaliswe ngumbala lucacile kumxholo ngokwawo (umzekelo, umbhalo obonakalayo), okanye luqukwe ngezinye iindlela, ezifana nesicatshulwa esongezelelweyo esifihlwe .sr-only
eklasini.
Sebenzisa izinto eziluncedo kumda ukutshintsha nje border-color
ikhadi. Qaphela ukuba ungabeka .text-{color}
iiklasi kumzali .card
okanye iseti esezantsi yeziqulatho zekhadi njengoko kubonisiwe ngezantsi.
Isihloko sekhadi lokuqala
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lesibini
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lempumelelo
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lengozi
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lesilumkiso
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi lolwazi
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi elikhanyayo
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Isihloko sekhadi elimnyama
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Unako kwakhona ukutshintsha imida kwiheader yekhadi kunye ne footer njengoko kufuneka, kwaye nokuba ukususa zabo background-color
nge .bg-transparent
.
Isihloko sekhadi lempumelelo
Omnye umzekelo okhawulezayo wombhalo wokwakha kwisihloko sekhadi kwaye wenze isambuku somxholo wekhadi.
Ukongeza kwisitayile somxholo ngaphakathi kwamakhadi, iBootstrap ibandakanya iinketho ezimbalwa zokubeka uluhlu lwamakhadi. Okwangoku , olu khetho loyilo alukaphenduli .
Sebenzisa amaqela amakhadi ukunika amakhadi njengento enye, encanyathiselweyo enobubanzi obulinganayo nobude bekholamu. Amaqela amakhadi asebenzisa display: flex;
ukuphumeza ubungakanani bawo obufanayo.
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Lo mxholo umde kancinane.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Isihloko sekhadi
Eli khadi linombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Eli khadi linomxholo omde ngakumbi kunowokuqala ukubonisa ukuba isenzo sobude obulinganayo.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Xa usebenzisa amaqela amakhadi anamazantsi, umxholo wabo uya kufola ngokuzenzekelayo.
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Lo mxholo umde kancinane.
Isihloko sekhadi
Eli khadi linombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Eli khadi linomxholo omde ngakumbi kunowokuqala ukubonisa ukuba isenzo sobude obulinganayo.
Ngaba ufuna isethi yobubanzi obulinganayo kunye namakhadi obude angadityaniswanga enye kwenye? Sebenzisa iidekhi zamakhadi.
Isihloko sekhadi
Eli likhadi elide elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Lo mxholo umde kancinane.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Isihloko sekhadi
Eli khadi linombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Eli khadi linomxholo omde ngakumbi kunowokuqala ukubonisa ukuba isenzo sobude obulinganayo.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Njengamaqela amakhadi, iifooter zamakhadi kwidesika ziya kufola ngokuzenzekelayo.
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Lo mxholo umde kancinane.
Isihloko sekhadi
Eli khadi linombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Isihloko sekhadi
Eli likhadi elibanzi elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Eli khadi linomxholo omde ngakumbi kunowokuqala ukubonisa ukuba isenzo sobude obulinganayo.
Amakhadi anokuthi alungelelaniswe kwiikholamu zeMasonry -ezifana neCSS nje ngokuzisonga .card-columns
. Amakhadi akhiwe ngeempawu ze-CSS column
endaweni ye-flexbox ukwenzela ukulungelelaniswa okulula. Amakhadi a-odolwe ukusuka phezulu ukuya ezantsi kwaye ukusuka ekhohlo ukuya ekunene.
Iintloko phezulu! Imayile yakho eneentsika zekhadi isenokwahluka. Ukunqanda ukuba amakhadi aqhawuke kwiikholamu, kufuneka siwasethe display: inline-block
njengengekasisisombululo column-break-inside: avoid
sokukhusela iimbumbulu.
Isihloko sekhadi esonga kumgca omtsha
Eli likhadi elide elinombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo. Lo mxholo umde kancinane.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. I-integer posuere erat ante.
Isihloko sekhadi
Eli khadi linombhalo oxhasayo ongezantsi njengento ekhokelela kwindalo kumxholo owongezelelweyo.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Lorem ipsum dolor sit amet, consectetur adipiscing elit. I-integer posuere erat.
Isihloko sekhadi
Eli khadi linesihloko esiqhelekileyo kunye nomhlathi omfutshane wesicatshulwa ngaphantsi kwayo.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Lorem ipsum dolor sit amet, consectetur adipiscing elit. I-integer posuere erat ante.
Isihloko sekhadi
Eli lelinye ikhadi elinesihloko kunye nesicatshulwa esixhasayo ngezantsi. Eli khadi linomxholo owongezelelweyo wokulenza libe lide kancinane xa lilonke.
Igqityelwe ukuvuselelwa kwimizuzu emi-3 edluleyo
Iikholomu zekhadi nazo zingandiswa kwaye zenziwe ngokwezifiso kunye nekhowudi eyongezelelweyo. Okuboniswe ngezantsi kukwandiswa .card-columns
kweklasi kusetyenziswa i-CSS efanayo esiyisebenzisayo-iikholamu ze-CSS-ukuvelisa iseti yamanqanaba aphendulayo okutshintsha inani leekholomu.