Imifanekiso engasemva yomzimba yenziwe ngokulula

html

Inqaku elihle oliza kulifumana kwiindawo ezininzi kulapho umxholo wendawo ubonakala ukuwugubungela iphepha ngesithunzi esilahlekileyo emva kwawo. Ngokwenene yindlela elula yokwenza ibhlog yakho ibonakale intle (okanye enye iwebhusayithi) enomfanekiso ongasemva omnye.

Kwenziwa njani?

  1. Chaza ukuba ubanzi kangakanani umxholo wakho. Umzekelo: 750px.
  2. Yakha umfanekiso kwisicelo sakho somzekeliso (ndisebenzisa i-Illustrator) ebanzi kunendawo yesiqulatho. Umzekelo: 800px.
  3. Cwangcisa imvelaphi yomfanekiso kwimvelaphi onqwenela ukuba nayo kwicala ngalinye lebhlog.
  4. Yongeza ummandla omhlophe ngasemva.
  5. Faka isicelo kwisithunzi kummandla omhlophe ophumayo ukusuka kwelinye icala lommandla.
  6. Cwangcisa indawo yesityalo ububanzi nge-pixel eyi-1 ubude. Oku kuyakwenza ukuba umfanekiso ukhuphele okuhle kunye nendawo yokudibanisa ngokukhawuleza.
  7. Ukukhupha umfanekiso.

Nantsi indlela endayakha ngayo ndisebenzisa i-Illustrator (qaphela ukuba ndinendawo yesityalo mde kakhulu… injalo nje ukuze ubone into endiyenzayo):
Imvelaphi kunye noMzekeliso

Nanku umzekelo wendlela iziphumo eziza kujongeka ngayo kunye nomfanekiso ongasemva:
Umzekelo woMfanekiso ongasemva

Nantsi indlela yokufaka umfanekiso usebenzisa i-tag yesitayile somzimba wakho kwi CSS ifayile.

imvelaphi: # B2B2B2 url ('imifanekiso / bg.gif') iziko eliphindayo;

Nantsi dissection yethegi yangasemva yesitayile:

  • # B2B2B2 - icwangcisa umbala ongasemva wephepha liphela. Kulo mzekelo, ngwevu ukuthelekisa ingwevu kumfanekiso ongasemva.
  • i-url ('imifanekiso / bg.gif') -iseta umfanekiso ongasemva ongathanda ukuwusebenzisa.
  • Phinda-y-useta umfanekiso ukuba uphinde kwi-axis y. Ke umfanekiso ongemva uya kuphinda ukusuka phezulu kuye ezantsi kwephepha.
  • iziko-liseta umfanekiso embindini wephepha.

Intle kwaye kulula… umfanekiso omnye, ithegi enye yesitayile!

2 Comments

  1. 1
  2. 2

Ingaba ucinga ntoni?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda indlela idatha yakho yokubhaliweyo isetyenziswe ngayo.