.sr-only
the CSS class of the Bootstrap library is used to make things disappear on computer screens only. Is there any opposite class for it to make things disappear on mobiles only?
I know there could be several workarounds using Javascript scripts. These are acceptable if and only if there is no opposite.
Bootstrap responsive utilities will handle this: http://getbootstrap.com/css/#responsive-utilities
Hide on extra small screens screens (less than 768px):
class="hidden-xs"
Show on extra small and small screens (less than 992px):
class="visible-xs visible-sm"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With