title: Creating CSS circle steps connected with lines from top to the bottom
body: <p>I already figure out to do the circle steps horizontally. But to do like the picture below is quite stressful. Can you figure out how to do this?</p>
  
  <p><a href="https://i.stack.imgur.com/1U06K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1U06K.png" alt="Image with connected circles"></a></p>
  
  <p>Here is code</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>.container-progress {
    margin: 100px auto;
    font-size: 24px;
    font-weight: bold;
    font-family: Verdana;
    color: white;
    margin-top: 50px;
    padding: 0;
  }
  
  .progressbar {
    margin: 0;
    padding: 0;
    counter-reset: step;
  }
  
  .progressbar li {
    list-style-type: none;
    width: 16%;
    float: left;
    font-size: 12px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
  }
  
  .progressbar li:before {
    width: 5em;
    height: 5em;
    content: counter(step);
    counter-increment: step;
    line-height: 90px;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    padding: 0;
    border-radius: 50%;
    background-color: black;
    font-size: 18px;
    font-weight: bold;
  }
  
  .progressbar li:after {
    margin-top: 30px;
    width: 100%;
    height: .5em;
    content: '';
    position: absolute;
    background-color: #7d7d7d;
    top: 15px;
    left: -50%;
    z-index: -1;
  }
  
  .progressbar li:first-child:after {
    content: none;
  }
  
  .progressbar li.active {
    color: white;
  }
  
  .progressbar li.active:before {
    border-color: dodgerblue;
    background: dodgerblue;
  }
  
  .progressbar li.active+li:after {
    /*background-color: dodgerblue;*/
  }
  
  .progressbar label {
    color: black;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container-progress"&gt;
    &lt;ul class="progressbar"&gt;
      &lt;li class="active active-step"&gt;
        &lt;label&gt;step 1&lt;/label&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;label&gt;step 2&lt;/label&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;label&gt;step 3&lt;/label&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;label&gt;step 4&lt;/label&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;label&gt;step 5&lt;/label&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;label&gt;step 6&lt;/label&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://jsfiddle.net/1dk1frwz/" rel="nofollow noreferrer">Fiddle link</a></p>