"Bootsytrap 4+ Horizontal List Group"
Bootstrap 4.1.1 Snippet by kamdjouduplex

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 text-center"> <div class="list-group list-group-horizontal"> <a href="#" class="list-group-item active">Item One</a> <a href="#" class="list-group-item">Item Two</a> <a href="#" class="list-group-item">Item Three</a> <a href="#" class="list-group-item">Item Four</a> </div> </div> </div> </div>
.list-group.list-group-horizontal{ display: flex; flex-direction: row; } .list-group.list-group-horizontal .list-group-item { margin-bottom: 0; margin-right: 0; border-right-width: 0; } .list-group.list-group-horizontal .list-group-item:first-child { border-top-right-radius:0; border-bottom-left-radius:4px; } .list-group.list-group-horizontal .list-group-item:last-child { border-top-right-radius:0px; border-top-right-radius:0px; border-bottom-left-radius:0; border-right-width: 1px; }

Related: See More


Questions / Comments: