<分区>
我对 pointer-events: none
和 cursor: wait
的组合有问题。我需要在 ajax 处理过程中禁用单击并显示等待光标。有一种机制可以自动添加或删除 wait
类到 body
标签。没有pointer-events: none
时出现等待光标,当同时有cursor: wait
和pointer-events: none
时出现光标不改变但保持默认箭头。
.wait {
cursor:wait;
pointer-events: none;
}
有什么方法可以只用 css 解决这个问题,还是我必须用透明的 div
来解决这个问题?
提前致谢。