Is there any way to disable a link using CSS?
I have a class called current-page and want links with this class to be disabled so that no action occurs
current-page
You can set href attribute to javascript:void(0)
href
javascript:void(0)
.disabled { /* Disabled link style */ color: black; }
LINK