给vscode编辑器添加背景
效果如图
1】在vscode 插件应用商店搜索 background 插件 安装
二】“ctrl + ,”打开设置,或“文件>首选项>设置”,搜索
点击打开settings.json 粘贴代码
粘贴代码
{
"background.customImages": [
"file:///E:/Vscode_background/03.jpg"
],
"background.styles": [
{
"content":"''",
"pointer-events":"none",
"position":"absolute",
"top":"0",
"width":"100%",
"height":"100%",
"z-index":"99999",
"background.repeat":"no-repeat",
"background-size":"cover",
"opacity":0.2
}
],
"background.useFront": true,
"background.useDefault": false,