📜  html 禁用锚链接 - Html 代码示例

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

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