vscode自定义设置编辑区背景

1.下载插件background
vscode自定义设置编辑区背景_第1张图片
2.打开设置,加入以下代码:

   "update.enableWindowsBackgroundUpdates": true,
   "background.customImages": ["C:/Users/Administrator/Pictures/cat.jpeg"],//图片的路径
    "background.enabled": true,
    "background.style": {
        "content": "''",
        "pointer-events": "none",
        "position": "absolute",
        "z-index": "99999",
        "width": "100%",
        "height": "100%",
        "background-position": "center",
        "background-repeat": "no-repeat",
        "background-attachment": "fixed",
        " background-size": "cover",
        "opacity": 0.3
    },
    "background.useFront": true,
    "background.useDefault": false,

vscode自定义设置编辑区背景_第2张图片
3.效果图如下:
vscode自定义设置编辑区背景_第3张图片

你可能感兴趣的:(前端爬坑之路,vscode)