<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="Author" content="胡超">
<title>super胡</title>
<style>
img{
/*-ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);IE专属 */
filter:alpha(opacity=50);/*IE*/
-moz-opacity:0.5;/*firefox*/
opacity: 0.5;/*chrome*/
}
</style>
</head>
<body>
<img src="7v/1318240446520.jpg"/>
</body>
</html>

需要声明的是,如果你要同时使用filter和-ms-filter,请将-ms-filter写在filter的前面

IE4-IE9都支持滤镜写法progid:DXImageTransform.Microsoft.Alpha(Opacity=xx).

IE8又引入了特殊的-ms-filter,IE认为这种写法是对旧写法的一次更正,更符合规范,这个写法的属性值只是多了一对引号,效果同前。不过,这种写法的寿命也不长,到IE10对filter与-ms-filter都已经不再支持。