Wordpress 完全实现整站实现黑白效果

2024-11-03 05:29:48

1、登陆wordpress后台界面,进行操作。

Wordpress 完全实现整站实现黑白效果

2、找到左侧功能列表,点开外观,点击编辑。

Wordpress 完全实现整站实现黑白效果

3、点击编辑后,进入代码操作界面。

Wordpress 完全实现整站实现黑白效果

4、继续点击,右侧代码文件列表,点击样式表,找到style.css文件。

Wordpress 完全实现整站实现黑白效果

5、在上面添加入下代码:html {filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); -webkit-filter: grayscale(100%); }

Wordpress 完全实现整站实现黑白效果

6、点击更新文件按钮,返回主站看下是否变成黑白颜色。

Wordpress 完全实现整站实现黑白效果

7、本节关于Wordpress 完全实现整站实现黑白效果,就到这里,感谢关注Rootxo,给赞一个吧,如果写的不好请多多指教,,,~(≧▽≦)/~。

猜你喜欢