VSCode添加背景图
1.打开该文件
2.截图如下
3.拷贝代码:
body{height:100%;width:100%;margin:0;padding:0;overflow:hidden;font-size:11px;user-select:none;pointer-events:auto !important;background-size:100% !important;opacity: 0.9 !important;background-position: 0 0 !important;background-image: url('file:///C:/Users/Administrator/Pictures/589aafdf2dd9f.jpg') !important;content:'';position:absolute;z-index:99999;width:100%;background-repeat:no-repeat;}
4.效果截图
本文来自博客园踩坑狭,作者:韩若明瞳,转载请注明原文链接:https://www.cnblogs.com/han-guang-xue/p/11773213.html