well i have modified the above solutions to suit my situation well, i just did a little bit of twerkingto make this work in Bootstrap 4+ . in the code below i have not included the external CSS or js files for the Bootstrap 4 framework just copy and paste.
<style>
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
border:0;
background-color:#0000FF;
}
.nav-tabs > li > a{padding:10px 30px}
.nav-tabs > li.active {
border-bottom:3px solid blue;
}
.c_breadcrumb {
padding: 1px;
background: #ddd;
padding-right: 15px;
-webkit-clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%, 15px 50%);
clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%, 15px 50%);
/*
display: inline-block;
*/
}
.c_breadcrumb li {
display: inline-block;
min-width:50px;
background: white;
text-decoration: none;
-webkit-clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%, 15px 50%);
clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%, 15px 50%);
padding: 0;
position: relative;
margin-right: -13px;
}
.c_breadcrumb li#last {
-webkit-clip-path: polygon(0 0, calc(100% - 0px) 0, 100% 50%, calc(100% - 0px) 100%, 0 100%, 15px 50%);
clip-path: polygon(0 0, calc(100% - 0px) 0, 100% 50%, calc(100% - 0px) 100%, 0 100%, 15px 50%);
}
.c_breadcrumb li:hover {
color: white;
background: #fff;
}
/* first link should not have anything cliped on the left side */
.c_breadcrumb li:first-child {
-webkit-clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
}
</style>
I have used the nav-fill class to make my tabs fill space .
<div>
<div class="c_breadcrumb" >
<ul class="nav nav-pills nav-tabs nav-fill" role="tablist">
<li class="nav-item " >
<a class="nav-link active " data-toggle="tab" href="#submitted">Active</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#pendingApproval">Longer nav link</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#workInProgress">Link</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" data-toggle="tab" href="#complete">Disabled</a>
</li>
</ul>
</div>
<div class="tab-content" style="margin:5%;">
<div class="tab-pane active" id="submitted">
Submitted data will be displayed here....
</div>
<div class="tab-pane" id="pendingApproval">
Pending Approvals will be displayed here....
</div>
<div class="tab-pane" id="workInProgress">
In Progress data will be displayed here....
</div>
<div class="tab-pane" id="complete">
Completed data will be displayed here....
</div>
</div>
</div>
Also, remember I have combined the above solutions to suit my scenario, so make changes to suit yours to .
so this should work 