title: How to make a link button with circular borders
body: <p>I am trying to make a link that looks like a button with a laterally rounded edge, but I need it to be a semi circumference, and I can't do that</p>
  
  <p>the radius ends up changing the diameter of the entire button</p>
  
  <p>I would like the button to look like this</p>
  
  <p><a href="https://i.stack.imgur.com/wrlib.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wrlib.jpg" alt="button"></a></p>
  
  <p>but my result looks like this</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>a{
     border-radius: 50%;
     padding: 10px;
     background-color: #999;
  }
  
  div{
     padding-top: 10px
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
  &lt;a&gt;Some text&lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I needed it to be dynamic, meaning no matter what font size inside it would always have the same rounded shape on the sides</p>