Bootstrap class: .d-*-inline-block

Do not have time to learn all the Bootstrap classes?

Try drag & drop Bootstrap builder

<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

More in Bootstrap Display