📜  如何禁用链接 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:19.487000             🧑  作者: Mango

代码示例3
.isDisabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
  pointer-events: none;
}