<p class="d-none d-sm-block">Hidden only on mobile </p>

bootstrap hide only on mobile

<div class="d-inline-block"></div>

bootstrap display inline block

<div class="d-none"></div> for bootstrap 4

bootstrap hide row