开发者

How to make Transperency for background image without changing the transperency of the text in it in html?

How can i make the background image of a div transperent without changing the transperency of the text 开发者_如何学运维in it.?

Thanks in Advance.


Edit the image itself and then save it in the PNG format (the only web format that supports translucency).


As far as i know, you can't do it. You could use absolute positioning and z-indexes to create the same effect. Just changing the background image transparency in an editor and saving it to png would be the best way to do this.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜