1.下载插件——background

2.文件–首选项–设置–搜索background。点击jason文件,进去配置写代码

3.配置 ---- 图片路径是数组,可以添加多张照片
"background.enabled": true,
"background.useDefault": false,
"background.customImages": [
"file:///D:/lmy/lmy-private/img/222.jpg" , "file:///D:/lmy/lmy-private/img/2.jpg"
],
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-size":"60%,100%",
"background-position": "100% 100%",
"background-repeat": "no-repeat",
"opacity": 0.3
}
wow…完成!


其实你切个图,搞个透明色背景,放上去会更好看的哦、
|