用户:ZCH_Pro查看:5 回复:4 评论:5 创建时间:2020-07-17T14:36:59
嗯……
又跟vscode有关……
这次,让我们来设置一下vscode的背景图
先看效果
嗯,看上去不错~满意~
首先
以管喵的身份运行vscode
先安装一个叫做“background”的插件
然后点击设置>首选项>设置
或者直接ctrl+
来到设置
输入background
打开settings.json
复制一下CSS代码(懂点前端的都知道是啥~)
{
"background.customImages": [
"file://C:/Users/DELL/Desktop/sans.png"
],
"background.useDefault": false,
"background.useFont": true,
"background.enabled": true,
"backgroundCover.imagePath": "C:\\Users\\DELL\\Desktop\\sans.png",
"backgroundCover.randomImageFolder": "C:\\Users\\DELL\\Desktop",
"backgroundCover.opacity": 0.3,
"window.zoomLevel" : 0.5,
"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.3,
}
}
(好吧,没有给CSS的代码输入……)![]()
注意!
注意!
注意!
![]()
请注意你的文件路径!