JSFiddle - React, Tailwind, and code Playground

by Igor_Ivancha

HTML

<ul id="step">
  <li>Step 1<br/>Step 1</li>
  <li>Step 2</li>
  <li>Step 3</li>
</ul>

CSS

* {
  box-sizing: border-box;
}

#step {
  padding: 0;
  list-style-type: none;
  font-family: arial;
  font-size: 12px;
  clear: both;
  line-height: 1em;
  margin: 0;
  text-align: center;
  display: table;
  width: 100%;
}

#step li {
  float: left;
  padding: 10px 30px 10px 40px;
  background: #333;
  color: #fff;
  position: relative;
  width: 30%;
  margin: 0 10px;
}

li:before,
li:after {
  width: 16px;
  height: 50%;
  position: absolute;
  left: 100%;
  content: '';
}

li:before {
  top: 0px;
  background: linear-gradient(to right top, #333 50%, transparent 50%)
}

li:after {
  top: 50%;
  background: linear-gradient(to right bottom, #333 50%, transparent 50%)
}