Skip to content

Instantly share code, notes, and snippets.

@DeanPoulin
Created January 11, 2014 09:50
Show Gist options
  • Select an option

  • Save DeanPoulin/8368948 to your computer and use it in GitHub Desktop.

Select an option

Save DeanPoulin/8368948 to your computer and use it in GitHub Desktop.
Showing & Hiding Content
<div class="show">...</div>
<div class="hidden">...</div>
<style type="text/css">
/* Classes - These are included in bootstrap, just use above classes on elements. */
.show {
display: block !important;
}
.hidden {
display: none !important;
visibility: hidden !important;
}
.invisible {
visibility: hidden;
}
// Usage as mixins
.element {
.show();
}
.another-element {
.hidden();
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment