在body中有一张背景图片。我想要能够看到背景图片。想让body里的div透明。
------解决方案--------------------
- CSS code
#shadow{ position:absolute; left:0; top:0; width:100%; height:100%; background-color:#0060C0; filter:alpha(opacity=20); }
------解决方案--------------------
滤镜属性filter
------解决方案--------------------
分浏览器,注意非IE要价opacity = 20
------解决方案--------------------
加个阴影效果吧