VScode 背景设置

打开vscode的安装目录:C:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench,找到下面的workbench.main.css文件,这儿就可以设置背景;

body {
    background-image: url('file:///C:/Users/DUOYI/Pictures/like.png');
    background-size: 20%;
    background-position: 100% 100%;
    opacity: 0.75;
    background-repeat: no-repeat;
}

全局 

body {
    background-image: url('file:///D:/Temp.jpg');
    background-size: 100%;
    opacity: 0.75;
    background-repeat: no-repeat;
}

猜你喜欢

转载自blog.csdn.net/yuan_jlj/article/details/106625939