插件查找background  安装并运行

 

 

在setting.json 文件中 设置

重启VSCode 用管理员权限打开 即可  

  //background 的相关配置
  "update.enableWindowsBackgroundUpdates": true,
  "background.customImages": [
    "file:///C:/Background/bg2.jpg" //图片地址
  ],
  "background.style": {
    "content": "''",
    "pointer-events": "none",
    "position": "fixed", //图片位置
    "width": "100%",
    "height": "100%",
    "z-index": "99999",
    "background.repeat": "no-repeat",
    "background-size": "100%,auto", //图片大小
    "opacity": 0.1 //透明度
  },
  "background.enabled": true,
  "background.useFront": true,
  "background.useDefault": false, //是否使用默认图片

 

相关文章:

  • 2022-01-01
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-06
  • 2022-12-23
  • 2021-08-06
  • 2021-08-01
  • 2021-06-27
相关资源
相似解决方案