"Horizontal aligment center and right"
Bootstrap 4.1.1 Snippet by ranjit1602

<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"> <h2>end class</h2> <div class="row justify-content-end"> <div class="col-md-3 bl">1</div> <div class="col-md-3 gre">2</div> <div class="col-md-3 bl">3</div> </div> <br> <h2>center class</h2> <div class="row justify-content-center"> <div class="col-md-3 bl">1</div> <div class="col-md-3 gre">2</div> <div class="col-md-3 bl">3</div> </div> <h2>between class</h2> <div class="row justify-content-between"> <div class="col-md-3 bl">1</div> <div class="col-md-3 gre">2</div> <div class="col-md-3 bl">3</div> </div> <h2>around class</h2> <div class="row justify-content-around"> <div class="col-md-3 bl">1</div> <div class="col-md-3 gre">2</div> <div class="col-md-3 bl">3</div> </div> </div>
.gree{ background:green; } .gre{background: #ddd} .bl{ background: #987; } .red{ background:red } .container{border:red solid 1px;}

Related: See More


Questions / Comments: