Answers for "html disable anchor link"

2

html disable anchor link

a.isDisabled {
  pointer-events: none;
}
Posted by: Guest on April-16-2020
0

how to disable link in hmtl

.isDisabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
  pointer-events: none;
}
Posted by: Guest on September-22-2021

Browse Popular Code Answers by Language