gpt4 book ai didi

css - 如何组合游标: not-allowed and pointer-events: none;

转载 作者:技术小花猫 更新时间:2023-10-29 10:28:12 24 4
gpt4 key购买 nike

<分区>

如何结合 CSS cursor: not-allowed 和 pointer-events: none;not-allowed 好像没有出现

.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.pointer-events-none { pointer-events: none; }
<button class="cursor-default">cursor-default</button>
<button class="cursor-not-allowed">cursor-not-allowed</button>
<button class="pointer-events-none">pointer-events-none</button>
<button class="cursor-not-allowed pointer-events-none">cursor-not-allowed + pointer-events-none</button>

小样本,请看第四个按钮cursor: not-allowed 没有看到按钮,但显示了一个看起来的图标。

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com