1
<div class="justify-content-center">
  <p class="hidden-md-down"> TEXT </p>
</div>

BootStrap used to be able to 'hide' a element on resizing using '.hidden'.

It looks like this no longer works.

What is the 4.0+ equivalent?

seamus
  • 2,681
  • 7
  • 26
  • 49

1 Answers1

1

Bootstrap 4 has the .d-none class. (official documentation)

To hide an element on screens smaller than 960px you could use the class's d-none & d-lg-block

<div class="d-none d-lg-block">hide on screens smaller than lg</div>
TidyDev
  • 3,470
  • 9
  • 29
  • 51