d-flex sm bootstrap class code example
Example 1: bootstrap justify-content-center for md
<div class="row justify-content-md-center"></div>
Example 2: flex wrap bootstrap
<div class="d-flex flex-wrap">...</div>
<div class="row justify-content-md-center"></div>
<div class="d-flex flex-wrap">...</div>