"list inline"
Bootstrap 4.1.1 Snippet by dkstudio

<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"> <ul class="list-inline"> <li><p>Lorem ipsum</p></li> <li><p>Lorem ipsum</p></li> <li><p>Lorem ipsum</p></li> </ul> </div> </div>
.list-inline { padding-left: 0; margin-left: -5px; list-style: none; } .list-inline>li { display: inline-block; padding-right: 5px; padding-left: 5px; } .list-inline>li p { padding: 10px; border: #ccc 1px solid; border-radius: 10px; }

Related: See More


Questions / Comments: