put inline block boostrap code example Example: bootstrap display inline block <div class="d-inline-block"></div>