is now part of Shuffle™. The new editor includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.
Switch to Shuffle →

Bootstrap class: .d-*-inline-block

<div class="d-inline-block bg-primary">d-inline-block</div>
<span class="d-sm-inline-block bg-primary">d-sm-inline-block</span>
<span class="d-md-inline-block bg-primary">d-md-inline-block</span>
<span class="d-lg-inline-block bg-primary">d-lg-inline-block</span>
<span class="d-xl-inline-block bg-primary">d-xl-inline-block</span>

Preview

d-inline-block
d-sm-inline-block d-md-inline-block d-lg-inline-block d-xl-inline-block

Tips 💡

More in Bootstrap Display