To disable a href link in CSS, we set the pointer-event
property.
For instance, we write
a {
pointer-events: none;
}
to disable links by setting pointer-events
to none
.
To disable a href link in CSS, we set the pointer-event
property.
For instance, we write
a {
pointer-events: none;
}
to disable links by setting pointer-events
to none
.