WordPress怎么全站变灰色(黑白色)

追格官方小助手/ 2021年12月14日/ WordPress/ 浏览 3610

(参考追格企业官网主题:https://owpro.jiangqie.com/


WordPress怎么全站变灰色,可在当前WordPress主题自定义CSS中,添加以下代码,也可以添加在当前WordPress模板的<head>中!


ps:添加在自定义css中去掉<style>和</style>

<style>
html {
filter:grayscale(100%);
-webkit-filter:grayscale(100%);
-moz-filter:grayscale(100%);
-ms-filter:grayscale(100%);
-o-filter:grayscale(100%);
-webkit-filter:grayscale(1);
}
</style>


发表评论

暂无评论,抢个沙发...

客服 工单