click on disabled element code example
Example: disabled a click
// CSS
.not-active {
pointer-events: none;
cursor: default;
text-decoration: none;
color: black;
}
// HTML
<a href="link.html" class="not-active">Link</a>
// CSS
.not-active {
pointer-events: none;
cursor: default;
text-decoration: none;
color: black;
}
// HTML
<a href="link.html" class="not-active">Link</a>