如何在我喜欢的编辑器中将图像设置为背景?
我知道,我可以change the background color设置颜色主题,但我还没有办法在后台设置像壁纸一样的图像。
如何在Atom和/或Notepad ++中设置壁纸背景?
答案 0 :(得分:2)
对于Atom ,您实际上只需在background
File > Settings > Themes > "Choose a Theme" >
中设置一个"your stylesheet"
即可。
我使用以下代码设置背景图片:
body, .pane { /* body is only for the snippet */
background: url("https://i.stack.imgur.com/1V0fC.jpg");
background-size: cover;
}
.editor { /* making it a bit transparent */
background: rgba(0, 0, 0, .75);
}