JSFiddle - React, Tailwind, and code Playground

by Buddhi

HTML

<h1>Sign-Up Instructions</h1>


    <div id="crumbs">
        <ul class="list-unstyled">
            <li class="">
        <a href="#1"><b>STEP 1:</b><br>Sign up and pay for<br>the options<br> you want</a>
            <ul class="test">
                <li>1st  point here</li>
              
                <li>2nd  point here</li>
               
                <li>3rd point here</li>
            </ul>
            </li>
   <li></li>
            <li class="">
                <a href="#2"><b>STEP 2:</b><br>Sign up for<br>online sessions<br>(held most weeks)</a>
                <ul class="test">
                    <li>1st  point here</li>

                    <li>2nd  point here</li>

                    <li>3rd point here</li>
                </ul>
            </li>
                <li class=""><a href="#3"><b>STEP 3:</b><br>Mock<br>OSCEs</a></li>
          
                 <li class=""><a href="#4"><b>STEP 4<br>(OPTIONAL):</b><br>Attend private<br>tutoring</a></li>
    </ul>
    </div>

CSS

h1 {
    margin-bottom: 20px;
    color: #4679bd;
    font-weight: 400;
    text-align: center;
  font-family: Verdana, Geneva, sans-serif;
}

body {
    margin: 0px;
    font-family: Helvetica;
    background: #f3f3f3;
  line-height:25px;
}

#crumbs {
    text-align: center;
  margin-left: 1em;
  margin-right: 1em;
}

#crumbs ul {
    display: inline-table;
   position: relative; 
}


#crumbs ul li {
    display: inline;
}

ul.test {
    float: left;
    margin-top: 200px;
    margin-left:-150px;
   
}
ul.test li {list-style:square!important;
             display:block!important;
        display:list-item!important;
}
    
#crumbs ul li a {
    display: block;
    float: left;
    height: 130px;
    background: #8bdbed;
    text-align: center;
    padding: 50px 0px 0 120px;
    position: relative;
    margin: 0 10px 0 0;
    font-size: 20px;
    text-decoration: none;
    color: black;
  line-height:25px;
}

#crumbs ul li a:after {
    content: "";
    border-top: 90px solid transparent;
    border-bottom: 90px solid transparent;
    border-left: 90px solid #8bdbed;
    position: absolute;
    right: -90px;
    top: 0;
    z-index: 1;
}

#crumbs ul li a:before {
    content: "";
    border-top: 90px solid transparent;
    border-bottom: 90px solid transparent;
    border-left: 90px solid #f3f3f3;
    position: absolute;
    left: 0;
    top: 0;
}

#crumbs ul li:first-child a {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  padding-left: 20px;
}

#crumbs ul li:first-child a:before {
    display: none;
}

#crumbs ul li:last-child a {
    padding-right: 30px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#crumbs ul li:last-child a:after {
    display: none;
}