摘要: 由于 opacity 属性能被子元素继承,使用它设置父元素背景透明度时也会影响子元素.解决方法:1> 使用 RGBAExample1 .classname {2 /* RGBa, 透明度0.6 */3 background: rgba(0, 0, 0, 0.6);4 }2> 使用 o... 阅读全文
posted @ 2016-01-04 10:29 提佰萬 阅读(8041) 评论(0) 推荐(1) 编辑