Skip to content

Instantly share code, notes, and snippets.

@mwadams
Created March 19, 2013 16:26
Show Gist options
  • Save mwadams/5197597 to your computer and use it in GitHub Desktop.
Save mwadams/5197597 to your computer and use it in GitHub Desktop.
Extra hidden/visible classes for bootstrap
/* -----------------------------------------------
Extra hidden/visible classes
----------------------------------------------- */
.visible-narrow-desktop {
display: none !important;
}
@media (min-width: 980px) and (max-width: 1199px) {
.visible-narrow-desktop {
display: inherit !important;
}
.hidden-narrow-desktop {
display: none !important;
}
.hidden-desktop {
display: inherit !important;
}
.visible-desktop {
display: none !important;
}
}
@media (max-width: 767px) {
.hidden-narrow-desktop {
display: inherit !important;
}
.visible-narrow-desktop {
display: none !important;
}
.hidden-desktop {
display: inherit !important;
}
.visible-desktop {
display: none !important;
}
.visible-phone {
display: inherit !important;
}
.hidden-phone {
display: none !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment