【问题标题】:Hide mouse cursor in Atom-Shell在 Atom-Shell 中隐藏鼠标光标
【发布时间】:2015-05-27 23:33:34
【问题描述】:

是否可以在 atom-shell 应用程序中隐藏鼠标光标?我已经尝试在我的 index.html 中添加一个样式标签来为 body 元素添加一个“cursor:none”,但它不起作用。我在 Windows 7 x64 上运行 atom-shell。

【问题讨论】:

    标签: electron


    【解决方案1】:
    <body style="cursor: -webkit-grab;">
        // your conntents 
    </body>
    

    这将按您的预期工作。

    【讨论】:

      猜你喜欢
      • 2013-09-16
      • 2014-10-18
      • 2011-05-24
      • 1970-01-01
      • 2018-06-04
      • 1970-01-01
      • 2022-12-31
      • 2019-02-06
      • 1970-01-01
      相关资源
      最近更新 更多