Difference between revisions of "Hiding and showing elements in Bootstrap"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "This page discusses how to hide and show HTML elements in Bootstrap. == Based on display size == You can use Bootstrap classes to...")
 
 
Line 15: Line 15:
  
 
* [[Bootstrap (framework)]]
 
* [[Bootstrap (framework)]]
 +
 +
[[Category:Bootstrap (framework)]]

Latest revision as of 13:20, 21 April 2016

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