【问题标题】:Setting background image in Notepad++ and Atom在 Notepad++ 和 Atom 中设置背景图像
【发布时间】:2017-08-20 07:33:30
【问题描述】:

如何在我最喜欢的编辑器中将图像设置为背景?
我知道,我可以change the background color 并设置颜色主题,但我还没有找到一种方法来在背景中设置像壁纸一样的图像。

如何在 Atom 和/或 Notepad++ 中设置壁纸背景?

【问题讨论】:

    标签: notepad++ atom-editor


    【解决方案1】:

    对于 Atom,您实际上可以在 File > Settings > Themes > "Choose a Theme" >"your stylesheet" 中设置一个带有 LESS 的 background

    我使用以下代码设置了背景图片:

    body,  /* body is only for the snippet */
    .pane {
      background: url("https://i.stack.imgur.com/1V0fC.jpg");
      background-size: cover;
    }
    
    .editor { /* making it a bit transparent */
      background: rgba(0, 0, 0, .75);
    }

    【讨论】:

      猜你喜欢
      • 2019-08-11
      • 2010-11-07
      • 2012-08-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多