"background.enabled": true,
"background.useDefault": false,
"background.customImages": [
"file:///D:/like.jpg"
],
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-position": "center",
"background-repeat": "no-repeat",
"background-size": "100%,100%",
"opacity": 0.1
}
第一句"background.enabled": true,是插件是否启用,当咱们把插件下载下来而且重启vscode以后,就已经有了这句话
第二句"background.useDefault": false,是否使用默认图片,改为false,不默认,咱们要设置本身想要的!
第三句 设置路径,细心的道友已经注意到了,这是一个数组,也就是说能够设置多张不一样的图片!记住,最多三张! /D:/like.jpg 是图片的路径地址
"background.customImages": [
"file:///D:/like.jpg"
],
最后就是background.style了,你们看着设置就行了,懂点css的都知道。注意后面的"opacity": 0.1透明度是能够设置的。
好啦,到此显示的就是这样子了