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