I created a horizontal scroll-able tab bar using Navs.
You can check the working demo of the below code here.
CSS
.nav {
overflow-x: auto;
overflow-y: hidden;
height: 115px;
}
.nav-item {
cursor: pointer;
margin: 15px 10px;
width: 200px;
height: 70px;
box-shadow: 0 4px 6px -6px #222;
}
.nav-link {
font-size: 14px;
text-align: center;
}
.nav-item.selected {
color: #fff;
background-color: #007bff;
}
HTML
<div class="card">
<div class="card-body">
<ul class="nav flex-column nav-pills">
<li class="nav-item selected">
<span class="nav-link">HTML </span>
</li>
<li class="nav-item">
<span class="nav-link">CSS</span>
</li>
<li class="nav-item">
<span class="nav-link">JS</span>
</li>
<li class="nav-item">
<span class="nav-link">React</span>
</li>
<li class="nav-item">
<span class="nav-link">Angular</span>
</li>
<li class="nav-item">
<span class="nav-link">Vue</span>
</li>
<li class="nav-item">
<span class="nav-link">Bootstrap</span>
</li>
<li class="nav-item">
<span class="nav-link">Tailwind</span>
</li>
<li class="nav-item">
<span class="nav-link">Codepen</span>
</li>
</ul>
</div>
</div>