title: I need to make a circular progress bar with rounded ends
body: <p>I need to create a circular progress bar. The highlighted segment has an outline and the end points are rounded, like this:</p>
  <p><a href="https://i.stack.imgur.com/kNKyzm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kNKyzm.png" alt="" /></a></p>
  <p>I did this one, but I can't create the rounded edges of progress segment line.</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>.pie {
    display: inline-block;
    margin: .5em;
    width: 8em;
    height: 8em;
    position: relative;
    border-radius: 50%;
  }
  
  .pie:after {
    border-radius: 50%;
    display: block;
    content: "";
    background: #fff;
    position: absolute;
      left: .5em;
    top: .5em;
    height: 7em;
    width: 7em;
  }
  
  
  
  .p1 {
    background-image: linear-gradient(-30deg, #ddd 50%, transparent 50%),
                      linear-gradient(90deg, #ddd 50%, steelblue 50%);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="pie p1"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>