align center bootstrap flex code example Example: display flex usnig bootstrap <div class="d-flex p-2 bd-highlight">I'm a flexbox container!</div>