vscode透明背景圖片

自定義設置vscode的背景圖片

效果圖
在這裏插入圖片描述

找到源碼路徑

在這裏插入圖片描述
在這裏插入圖片描述
鼠標放上面就看的到,也可以直接點右鍵 copy link address ,在文件夾中打開
找到之後,打開
在這裏插入圖片描述

添加css代碼

在這裏插入圖片描述
追加代碼

body{
	pointer-events:auto !important;
	background-size:100% !important;
	opacity: 0.8 !important;
	background-position: 0 0 !important;
	background-image: url('file://E:/360downloads/324702.jpg') !important;
	content:'';
	position:absolute;
	z-index:99999;
	width:100%;
	background-repeat:no-repeat;
}

記得修改圖片地址改成自己想要的圖片地址

修改settings

在這裏插入圖片描述
在這裏插入圖片描述
點擊{} 出現設置代碼
添加最後一段代碼
在這裏插入圖片描述

 "window.titleBarStyle": "custom",//首先把標題欄改爲非原生的

重新打開

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章