CSS3 RGBA colors 使用实例页面
代码:
CSS代码:
.rgba_colors{
width:200px;
padding:30px 20px;
border:2px solid #a0b3d6;
background:url(//image.zhangxinxu.com/image/study/s/s128/mm1.jpg) no-repeat center top;
color:white;
}
.rgba_colors .in{
background-color:rgba(0,120,60,0.4);
}
HTML代码:
<div class="hsla_colors">
<div class="in">看看这里的背景颜色是什么颜色?</div>
</div>
效果:
看看这里的背景颜色是什么颜色?