Uyongeza njani i-Drop and Text Shadows kwi-Dreamweaver

NguJanine Warner

Unokonyusa uyilo lwakho kwi-Dreamweaver kwaye unike amaphepha akho ubunzulu obukhulu ngokongeza izithunzi kwimifanekiso,



iithegi, kunye nezinye izinto. Ukongeza isithunzi sokubhaliweyo kwenza amagama akho afundeke ngokulula, ngakumbi ukuba uyilo lwakho lunemvelaphi entsonkothileyo okanye umphambili kunye nemibala yangemvelaphi ayinantlukwano. umfanekiso1.jpgItyala: Ifoto ngu iStockphoto.com

I-Dreamweaver CC ibonelela ngenkxaso engcono kunye nokudityaniswa kwe-CSS3 izithunzi ezilahlayo kunye nezithunzi ezibhaliweyo ezivela kwipaneli entsha yoMyili weCSS.



indlela yokuthintela

Unokwenza izitayile zeklasi okanye ze-ID ngezithunzi ezibhaliweyo, kwaye unokongeza izithunzi ezibhaliweyo kwizinto ezikhoyo ze-HTML ngokuchaza isitayile sethegi, njengesihloko sesitayile sokuqala esibonwe apha. Ikhowudi yeCSS3 eyenza isithunzi sokubhaliweyo yile

h1 {text-shadow: 2px 2px 2px #000;}

Amanani kwikhowudi acacisa ukuba isithunzi sokubhaliweyo kufuneka sandise iipikseli ezi-2 ngasekunene kunye nee-pixels ezi-2 ezantsi kwesicatshulwa esine-2-pixel blur. Ukongeza, isithunzi senziwe ngombala omnyama, ochazwe yikhowudi emifutshane yehexadecimal# 000.



Xa usenza imigaqo yezithunzi zesicatshulwa ungakhankanya ukuya kumaxabiso amane:

l484 ipilisi emhlophe embhoxo
  • tyaba kwaye nkqo : Amanani amanani amabini okuqala ayafuneka kwaye ucacise ii-offsets ethe tye kunye ethe nkqo-umgama isithunzi sokulahla esiya ngaphantsi kwesicatshulwa ( nkqo ) nasekunene kwesicatshulwa (tyaba).

  • ukufiphaza irediyasi Ixabiso lesithathu licacisa inani lokufiphala kwisithunzi. Ukuba awufakiukufiphaza irediyasi, okungagqibekanga ngu-0, okwenza isithunzi sibonakale njengombala oqinileyo.



  • Umbala Ixabiso lesine licacisa umbala wesithunzi kwaye linokuchazwa ngokusebenzisa ikhowudi yemibala ye-hexadecimal okanye ikhowudi yemibala ye-RGBa.

Ukukhetha umbala we-RGBa wokhetho lombala kukunika ulawulo olukhulu ngaphezulu kokubonakala kwesithunzi kuba unokongeza ukungafihli.

Unokongeza isithunzi sokubhaliweyo usebenzisa iphaneli yeePropathi ezantsi kwepaneli yoMyili weCSS. Ukwenza njalo, landela la manyathelo:

  1. Skrolela ezantsi kwi-Text-Shadow yecandelo leePropati zePropati yeCSS.

  2. Faka ubungakanani besithunzi ofuna ukusibonisa usebenzisa isithunzi se-H (tyaba) kunye ne-V-shadow (nkqo) kwimihlaba.

  3. Yongeza inani le-blur oyifunayo kwisithunzi sakho sokubhaliweyo ngokufaka ubungakanani kwicandelo le-Blur.

  4. Cofa umbala kakuhle kwaye ukhethe umbala ofuna ukuwusebenzisa kwisithunzi sokubhaliweyo.

    1 isilivere yesalfadiazine cream