hide css tag in bootstrap 4 for mobile code example Example: bootstrap hide only on mobile <p class="d-none d-sm-block">Hidden only on mobile </p>