Is there a way in css to make the links inactive?

Let's say there is class .disabled which makes the interface element is not active. If it is applied to the button created using the tag <a></a> , is there a way with css to make it impossible to click on a link specified in the href attribute?
July 8th 19 at 12:08
3 answers
July 8th 19 at 12:10
using CSS - only pointer-events: none or pseudo-elements :after/:before that would override the button
If you need to remain functional links (styles when you hover, the mouse cursor, etc.), it is only through JS
Right, forgot about pointer-events - dejuan commented on July 8th 19 at 12:13
July 8th 19 at 12:12
July 8th 19 at 12:14
there is no such in css
for this is the js
and your way

Find more questions by tags CSS