Force an element to be shown or hidden (including for screen readers) with the use of .show and .hidden classes.
These classes use !important to avoid specificity conflicts, just like the quick floats.
They are only available for block level toggling. They can also be used as mixins.
.hide is available, but it does not always affect screen readers and is deprecated as of v3.0.1. Use .hidden or .sr-only instead.
Furthermore, .invisible can be used to toggle only the visibility of an element, meaning its display is not modified and the element can still affect the flow of the document.
Force an element to be shown or hidden (including for screen readers) with the use of
.show
and.hidden
classes. These classes use!important
to avoid specificity conflicts, just like the quick floats. They are only available for block level toggling. They can also be used as mixins..hide
is available, but it does not always affect screen readers and is deprecated as of v3.0.1. Use.hidden
or.sr-only
instead. Furthermore,.invisible
can be used to toggle only the visibility of an element, meaning its display is not modified and the element can still affect the flow of the document.http://getbootstrap.com/css/#helper-classes-show-hide