vscode,background插件使用

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/qq_38188047/article/details/101681335

1. 安装在这里插入图片描述

2.设置

文件-》首选项-》设置

在这里插入图片描述
搜索background
在这里插入图片描述
自定义背景
在这里插入图片描述
在这里插入图片描述
复制下面的,注意下逗号等
图片路径不能有中文!不然没效果

"background.useFront": false,
    "background.useDefault": false,
    "background.customImages": [
            "file:///C:/Users/xwc/Desktop/Pictures/4.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.4
            
        }

猜你喜欢

转载自blog.csdn.net/qq_38188047/article/details/101681335