Hiding and showing elements in Bootstrap

From Wiki @ Karl Jones dot com
Jump to: navigation, search

This page discusses how to hide and show HTML elements in Bootstrap.

Based on display size

You can use Bootstrap classes to hide and show HTML elements, based on display size.

This is useful for showing summary information on mobile devices, and more detailed information on desktop computers.

You can approach this one (or both) of two ways:

  • "Show this element (or elements) for a specific screen size, and hide it in all the other sizes."
  • "Hide this element (or elements) for a specific screen size, and show it for all other sizes".

See also