I have a button inside a link, how can I make it so that clicking on the button will not cause a redirect, but clicking outside the button will.
<a href="http://google.com" class="block">
<button>Don't redirect on click</button>
</a>
Is it possible to do with css only?
See here: https://jsfiddle.net/d4mr7mm6/