操作步驟如下:
1、修改網頁的兼容模式,為IE9
2、在網站的
標籤內加入css樣式,代碼如下:<style>
html { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); }
<style>
* { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); filter:gray }
閱讀更多 自由阿草 的文章