In this example you will learn, how to Center a Column in Bootstrap. If you are using the Bootstrap 4 version, you can horizontally center a grid column by applying the class .mx-auto on it. Let’s try out the following example to see how it works:
<div class="col-sm-6 mx-auto">
<!-- Column content -->
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.