title: CSS for step wizard
body: <p>I am new to CSS and I need help to develop step wizard as displayed below. Please provide me pointers to the same.
  <a href="https://i.stack.imgur.com/1BXMj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1BXMj.png" alt="enter image description here"></a></p>
  
  <p>Here is the sample code that I have tried: <a href="https://jsfiddle.net/61peq3d6/1/" rel="nofollow noreferrer">https://jsfiddle.net/61peq3d6/1/</a></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>.wizard li {
    background-color: #fff;
    border: solid black 3px;
    border-radius: 5px;
    display: inline;
    padding: 10px 30px 10px 40px;
    margin-right: -7px;
    width: auto;
    color: teal;
  }
  
  .wizard li::before,
  .wizard li::after {
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    border-color: transparent;
    border-left-color: #000;
    border-radius: 10px;
  }
  
  .wizard li::before {
    border-width: 25px;
    margin-top: -16px;
    margin-left: 84px;
  }
  
  .wizard li::after {
    border-left-color: #fff;
    border-width: 21px;
    margin-top: -12px;
    margin-left: 24px;
  }
  
  .wizard li.selected {
    background-color: black;
    color: #fff;
  }
  
  .wizard li.selected::after {
    border-left-color: black;
  }
  
  .wizard li:last-child::after {
    border-left-color: transparent;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul class="wizard"&gt;
    &lt;li&gt;Passo 1&lt;/li&gt;
    &lt;li class="selected"&gt;Passo 2&lt;/li&gt;
    &lt;li&gt;Passo 3&lt;/li&gt;
    &lt;li&gt;Passo 4&lt;/li&gt;
    &lt;li&gt;Fim&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am facing issue in aligning the arrow kind of sign.</p>