Hiding and showing elements in Bootstrap

From Wiki @ Karl Jones dot com
Revision as of 12:20, 21 April 2016 by Karl Jones (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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