网站置灰

html.gray {
    -webkit-filter: grayscale(.95);
}

兼容性

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

 

上一篇:OpenCV KNN数字分类


下一篇:Go语言库系列之aurora