兼容IE8灰色遮罩层处理方法

rgba(0,0,0,0.6):IE8及如下版本的浏览器并不识别这种写法css

须要使用ie的filter来解决这个问题html

<div style="height:100px;width:100px;rgba(0, 0, 0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);"></div> 

 

转:http://moneyinto.iteye.com/blog/2237095浏览器

转换IE Filter网站: https://kilianvalkhof.com/2010/css-html/how-to-use-rgba-in-ie/网站

相关文章
相关标签/搜索