Disabling click on a href using css

July 24th, 2022 Shabu James 72 Views 0 Bootstrap 3, Bootstrap 4, Bootstrap 5, CSS8 seconds

Adding below CSS you can achieve the disabling the click in ahref

    pointer-events: none;
    cursor: default;

About The Author

Shabu James

Leave Your Thoughts Here...

We are glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy.

Name *
Comment

We are glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy.