How to make a link unclickable in CSS?

To make a link unclickable using CSS, you can use the pointer-events property.

Simply apply pointer-events: none; on the link that you want to make unclickable and it will not let you click the link.

Here is a working example:

Example:

a{
   pointer-events: none;
}