<div class="text-center"> <button type="button" class="btn btn-primary">My button</button> </div>
<div class="text-center"> <button type="button">centered button</button> </div>