【发布时间】:2016-03-15 19:06:03
【问题描述】:
我需要在 IE8 中使用 rgba(alpha) 做背景色,但我的代码不起作用 HTML:
<div class="container">
<div class="child">
</div>
</div>
CSS:
.container {
position: fixed;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
}
.child {
width: 50px;
height: 50px;
color: red;
}
【问题讨论】:
标签: html css filter internet-explorer-8 rgba