title: curved line css rounded border
body: <p>How can I get rounded borders at the top and bottom of this curved line. Checkout the white line of this picture, that is what I want to achieve with CSS. <a href="https://i.stack.imgur.com/eVpon.png" rel="nofollow noreferrer">Something like this</a></p>
  
  <p>My Snippet:</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>.curved-line {
    position: absolute;
    width: 180px;
    height: 90px;
    border: solid 12.5px #000;
    border-color: black transparent transparent transparent;
    border-radius: 50%/100% 100% 0 0;
    transform: rotate(180deg);
    margin-left: 45px;
    margin-top: 60px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="curved-line"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>