登录 | 注册 | FAQ
Anonymous

gradient/fade

+ 发表回复

3 篇帖子 分页: 1 / 1


gradient/fade

watertown scholar » 周二 11月 30, 2010 7:21 pm

Can anyone provide pointers about how to get an image to fade away on one side. I am trying to anchor the image on the left but want it to stretch across the screen and fade into a solid color if it is resized.

Many thanks,

Watertown Scholar
头像

watertown scholar

  • 帖子: 2
  • 注册: 周二 11月 30, 2010 7:16 pm

Re: gradient/fade

HTML.net » 周三 12月 01, 2010 12:19 pm

You can't really code that. You need to create it in an image editing program.

GIMP is a free image editing program: http://www.gimp.org/

And here here is a guide how to create a fade effect in GIMP: http://www.brighthub.com/multimedia/pub ... 73744.aspx

All the best,

- Andreas, HTML.net
头像

HTML.net
Site Admin

  • 帖子: 1194
  • 注册: 周六 9月 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: gradient/fade

watertown scholar » 周三 12月 01, 2010 4:40 pm

Many thanks... I got it to work :-)

Andreas I really appreciate your reply.

CSS is fun! So glad I didn't buy Dreamweaver!

Watertown Scholar
头像

watertown scholar

  • 帖子: 2
  • 注册: 周二 11月 30, 2010 7:16 pm


+ 发表回复

分页: 1 / 1