I'm using Bootstrap v4 with it's default CSS and JS. I'm trying to apply the classes hidden, hidden-XX-down and hidden-XX-up to various divs, buttons, etc. But it doesn't seem to affect anything. All other classes work, except this one.
Here's 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>
I want the paragraph to be invisible when I resize the window to a smaller width (sm-down), yet it remains visible and nothing happens.
class="Andre-hidden"and in your CSS, write.Andre-hidden{display:none;}- Oscar Zhanghiddenclass, so I would consider it redundant to create another class to reach the same goal. Also, I'm still a noobie exploring Bs, so I'm trying to stick to bootstrap's default CSS for now... - user9179774