vscode background插件怎么换背景图
发布网友
发布时间:2022-04-23 00:06
我来回答
共3个回答
热心网友
时间:2023-08-23 22:54
<img src="1111.gif" width="165" height="60" />跟html一起
<img src="img/1111.gif" width="165" height="60" />html一起的img文件夹下的1111.gif
<img src="img/gif/1111.gif" width="165" height="60" />html一起的img文件夹下gif文件夹下的1111.gif
以此类推
热心网友
时间:2023-08-23 22:55
点击文件->首选项->设置,用户设置中添加以下代码:
"background.useDefault": false,
"background.customImages": [
"C:/Users/RuoShui/Pictures/Saved Pictures/yy11.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.2
}
热心网友
时间:2023-08-23 22:55
在首选项设置里搜索 background.
// If use front image,which means image is placed on the top of your code. 是否使用前景图,这样会使图片放在代码的顶部
"background.useFront": true,
// Custom style.自定义样式.
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-position": "100% 100%",
"background-repeat": "no-repeat",
"opacity": 1
},
// Use default images.使用默认图片
"background.useDefault": true,
// Your custom Images(Max length is 3). 自己定制背景图,最多3个
"background.customImages": [],