Is there a way in css to make the links inactive?
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
there is no such in css
for this is the js
and your way
Find more questions by tags CSS