css实现页面全部置灰

html {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}

 

posted @ 2020-05-11 20:48  dongxiaolei  阅读(3946)  评论(0编辑  收藏  举报