img center block bootstrap 4 code example Example: bootstrap class align center image class="mx-auto d-block"