JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<body>
<div class="wizard-steps">
<div class="completed-step step">
<div class="a-before"></div>
<a href="#step-one">
<span>1</span>
Account Info
</a>
<div class="a-after"></div>
</div>
<div class="active-step step">
<div class="a-before"></div>
<a href="#step-two">
<span>2</span>
Contact Info
</a>
<div class="a-after"></div>
</div>
<div class="step">
<div class="a-before"></div>
<a href="#">
<span>3</span>
Security Question
</a>
<div class="a-after"></div>
</div>
<div class="step">
<div class="a-before"></div>
<a href="#">
<span>4</span>
Confirmation
</a>
<div class="a-after"></div>
</div>
</div>
</body></html>
CSS
/* = STEPS CONTAINER
----------------------------*/
.wizard-steps {
margin:20px 10px 0px 10px;
padding:0px;
position: relative;
clear:both;
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold;
}
.wizard-steps .step {
position:relative;
}
.wizard-steps div {
float: left;
margin-left: -2px;
}
/* = STEP NUMBERS
----------------------------*/
.wizard-steps span {
display: block;
float: left;
font-size: 10px;
text-align:center;
width:15px;
margin: 2px 5px 0px 0px;
line-height:15px;
color: #ccc;
background: #FFF;
border: 2px solid #CCC;
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}
/* = DEFAULT STEPS
----------------------------*/
.wizard-steps a {
position:relative;
display:block;
height:24px;
padding:0px 10px 0px 3px;
float: left;
font-size:11px;
line-height:24px;
color:#666;
background: #F0EEE3;
text-decoration:none;
text-shadow:1px 1px 1px rgba(255,255,255, 0.8);
}
.wizard-steps .a-before {
width:0px;
height:0px;
border-top: 12px solid #F0EEE3;
border-bottom: 12px solid #F0EEE3;
border-left:12px solid transparent;
}
.wizard-steps .a-after {
width: 0;
height: 0;
border-top: 12px solid transparent;
border-bottom: 12px solid transparent;
border-left:12px solid #F0EEE3;
margin-left: 0;
}
/* = COMPLETED STEPS
----------------------------*/
.wizard-steps .completed-step a {
color:#163038;
background: #A3C1C9;
}
.wizard-steps .completed-step .a-before {
border-top: 12px solid #A3C1C9;
border-bottom: 12px solid #A3C1C9;
}
.wizard-steps .completed-step .a-after {
border-left: 12px solid #A3C1C9;
}
.wizard-steps .completed-step span {
border: 2px solid #163038;
color: #163038;
text-shadow:none;
}
/* = ACTIVE STEPS
----------------------------*/
.wizard-steps .active-step a {
color:#A3C1C9;
background:...