<style> html { -webkit-filter: grayscale(100%); /* webkit */ -moz-filter: grayscale(100%); /*firefox*/ -ms-filter: grayscale(100%); /*ie9*/ -o-filter: grayscale(100%); /*opera*/ filter: grayscale(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); } body{ filter:gray; /*ie9- */ background : none!important; } </style>
标签:ie9,样式,黑白,100%,grayscale,filter,首页,webkit From: https://www.cnblogs.com/sunff/p/16954287.html