是否可以在原子壳应用程序中隐藏鼠标光标?我已经尝试使用样式标记添加到我的index.html,为body元素添加“cursor:none”,但它有效。我在Windows 7 x64上运行atom-shell。
答案 0 :(得分:0)
[class^="sub-"] — starts with "status-" (obviously).
[class*=" sub-"] — contains the substring "status-" occurring directly after a space character. Class names are separated by whitespace per the HTML spec, hence the significant space character. This checks any other classes after the first if multiple classes are specified, and adds a bonus of checking the first class in case the attribute value is space-padded (which can happen with some applications that output class attributes dynamically).
这将按预期工作。