CSS - Button with two cut off corners
<p><a href="https://i.stack.imgur.com/1v9h1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1v9h1.jpg" alt="Button cut off corners sample"></a></p>

<p>Hi all, I want to create a <code>&lt;button&gt;</code> like the one you can see in the above image, with <code>background: transparent; border: 1px solid #999</code>. I have checked a previous similar <a href="https://stackoverflow.com/questions/13545192/create-border-with-two-cut-off-corners">question</a> with the same problem, but since it's 3 years old I would to check if there are better solutions. </p>

<p>Do you have an idea on how to achieve this result? Thanks in advance for your replies!</p>