Add CSS cursor property when using “pointer-events: none”

后端 未结 7 1563
时光取名叫无心
时光取名叫无心 2020-11-30 06:52

I\'m trying to disable a specific link and apply cursor style but this CSS command cursor: text; won\'t effect. The cursor is always default. I\'m using latest

7条回答
  •  感动是毒
    2020-11-30 07:53

    By specifying pointer-events:none you are actively declaring that there is no mouse interaction between the element and the cursor. Therefore it cannot have a cursor either - it's invisible to all mouse behaviours.

    Proof to be found here.

提交回复
热议问题