(推荐教程:css快速入门)
background-color:#fff;filter:alpha(opacity=60);opacity:0.6;
样式:
<style> .back {background:url(images/coupon-logo.gif) no-repeat;} .top {height:100px;background-color:#fff;filter:alpha(opacity=60);opacity:0.6;}</style>
html代码:
<div class="back"> <div class="top"></div></div>
以上就是css如何实现蒙版效果的详细内容。