I seem to be having trouble using the "hidden" class to conceal content at a specific size. It seems to work on some elements, but not others.
Here is how I am using it:
<div class="hidden-sm">something to hide in small viewports </div>
It works when I apply it to the brand logo in the navigation, but for the navbar, certain images, and other elements, it doesn't seem to have any effect...
When I use the following code, it does work (however, it hides the content permanently)
<div hidden> something to hide in small viewports </div>
On the other hand, this code below doesn't seem to work at all
<div hidden-sm> something to hide in small viewports </div>
Could someone provide me with a bit more clarity on the usage of this? The Bootstrap documentation doesn't offer much detail.
Moreover, as you can probably tell, I'm not very proficient with CSS or JavaScript, so I would prefer to just import Bootstrap from the CDN without having to create my own CSS files (if possible).