I have Bootstrap v4 set up with its default CSS and JS. I'm attempting to use the classes hidden
, hidden-XX-down
, and hidden-XX-up
on different divs, buttons, etc. However, it doesn't seem to be having any effect. All other classes are working fine except for this one.
Let me provide an example:
<div class="row">
<div class="col col-10 offset-1 hidden-sm-down">
<p class="text-primary text-center">Lorem ipsum dolor sit amet.</p>
</div>
</div>
Even though I want the paragraph to disappear when I resize the window to a smaller width (sm-down), it remains visible and nothing changes as expected.