JSFiddle - React, Tailwind, and code Playground

by Justin Erswell

HTML

<div class="col-md-3 sidebar hidden-xs hidden-sm">
				<div class="show-filter">
					<h2><span>Show</span></h2>
					<div class="filter-block text-center">
						<div class="btn-group" role="group" aria-label="...">
						    <button type="button" class="btn btn-filter active">All</button>
						    <button type="button" class="btn btn-filter">Latest</button>
						    <button type="button" class="btn btn-filter">Popular</button>
						</div>
					</div>
				</div>

CSS

.sidebar {
    background-color: #40d1b0;
    height: 100%;
    position: fixed;
}
.sidebar h2 {
    color: #f7f7f7;
    width: 100%;
    font-size: 24px;
    position: relative;
}

.sidebar h2 span {
    background-color: #40d1b0;
    padding-right: 2px;
}
.sidebar h2:after {
    content:"";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.22em;
    border-top: 1px solid rgba(0,0,0,0.10);
    z-index: -1;
}