css display md xl sm code example
Example 1: bootstrap display inline block
<div class="d-inline-block"></div>
Example 2: hide when small bootstrap
<div class="d-lg-none">hide on screens wider than lg</div>
<div class="d-none d-lg-block">hide on screens smaller than lg</div>