Lub Cev Tom Qab Cov Duab Ua Ua Si Tau yooj yim

html

Ib qho zoo nkauj uas koj yuav pom nyob rau ntau qhov chaw yog qhov chaw hauv nruab nrab cov ntsiab lus tshwm rau overlay nplooj ntawv nrog duab ntxoov ntxoo poob qab nws. Nws yog qhov tseeb tau siv cov qauv ncaj ncees los ua kom koj cov blog zoo nkauj (lossis lwm lub vev xaib) nrog cov duab keeb kwm yav dhau.

Yuav ua li cas yog nws ua tiav?

  1. Xyuas seb koj cov ntsiab lus dav npaum li cas. Piv txwv: 750px.
  2. Ua kom cov duab nyob hauv koj daim ntawv thov kev piv txwv (Kuv siv Daim Duab) dav dua thaj tsam cov ntsiab lus. Piv txwv: 800px.
  3. Teem lub ntsej muag ntawm cov duab rau tom qab koj xav kom muaj ntawm txhua sab ntawm blog.
  4. Ntxiv ib cheeb tsam dawb tshaj tom qab.
  5. Thov ib qho duab ntxoov ntxoo rau ntawm thaj av dawb uas nthuav tawm los ntawm ib sab ntawm thaj av.
  6. Teeb rau thaj chaw cog qoob loo qhov dav los ntawm 1 pixel hauv qhov siab. Qhov no yuav ua rau cov duab los rub tawm kom zoo nkauj thiab kev cog lus kom nrawm.
  7. Tso zis rau daim duab.

Nov yog qhov kuv tsim nws siv Illustrator (Nco ntsoov tias kuv muaj thaj chaw cog qoob loo ntau dua… qhov ntawd tsuas yog li koj tuaj yeem pom qhov kuv ua)
Keeb Kwm Nrog Taug Kev Ua Si

Ntawm no yog ib qho piv txwv ntawm cov zis yuav zoo li cas nrog cov duab keeb kwm yav dhau los:
Piv txwv ntawm Cov Duab Tom Qab

Ntawm no yog yuav ua li cas thov cov duab siv koj lub cev style cim hauv koj CSS ntawv.

tom qab: # B2B2B2 url ('images / bg.gif') rov ua-y chaw;

Ntawm no yog lub dissection ntawm tus keeb kwm yav dhau style tag:

  • # B2B2B2 - teev cov xim tom qab ntawm nplooj ntawv. Hauv qhov ua piv txwv no, nws yog xim txho kom phim qhov grey rau tom qab daim duab.
  • url ('images / bg.gif') - teev cov duab keeb kwm yav dhau uas koj xav siv.
  • rov hais dua-y - teev cov duab kom rov ua tau ntawm y-axis. Yog li cov duab keeb kwm yav dhau los yuav rov ua tawm los ntawm sab toj mus rau hauv qab ntawm nplooj ntawv.
  • chaw - teeb tsa cov duab hauv nruab nrab ntawm nplooj ntawv.

Zoo thiab yooj yim… ib qho duab, ib qho cim npe!

2 Comments

  1. 1
  2. 2

Yuav ua li cas koj xav hais tias?

Qhov Web site no siv Akismet los txo cov kev pabcuam. Kawm li cas koj cov ntaub ntawv tawm tswv yim tiav.