开发者

transparent image in page

how to make a transparent image with jquery or css? Is开发者_开发问答 it a possible?

Thanks


You may want to look at the CSS opacity property. As always, this is not compatible with IE, where you have to use filter:alpha.

See here for a couple of examples: http://www.w3schools.com/Css/css_image_transparency.asp


Just open Adobe, create new canvas, size x*y, transparent background, save for web & devices as *.png with transparency enabled.

Casablanca is right. Most you can do with css and jquery is use alpha properties to make it see-through. But it's easier to just upload a transparent image.


There are a number of methods to get transparency in your web design. A good break down of the possibilities exists here:

http://css-tricks.com/transparency-in-web-design/

Bob

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜