Skip to content

Instantly share code, notes, and snippets.

@hatefulcrawdad
Created February 28, 2013 15:25
Show Gist options
  • Save hatefulcrawdad/5057529 to your computer and use it in GitHub Desktop.
Save hatefulcrawdad/5057529 to your computer and use it in GitHub Desktop.
/* The show classes */
.show-for-small /* Visible up to 768px */
.show-for-medium-down /* Visible from 1280px down */
.show-for-medium /* Visible between 768px and 1280px */
.show-for-medium-up /* Visible from 1280px up */
.show-for-large-down /* Visible from 1440px down */
.show-for-large /* Visible between 1280px and 1440px */
.show-for-large-up /* Visible from 1440px up */
/* The hide classes */
.hide-for-small /* Hidden up to 768px */
.hide-for-medium-down /* Hidden from 1280px down */
.hide-for-medium /* Hidden between 768px and 1280px */
.hide-for-medium-up /* Hidden from 1280px up */
.hide-for-large-down /* Hidden from 1440px down */
.hide-for-large /* Hidden between 1280px and 1440px */
.hide-for-large-up /* Hidden from 1440px up */
/* The orientation classes */
.show-for-landscape /* Visible for landscape orientation */
.show-for-portrait /* Visible for portrait orientation */
.hide-for-landscape /* Hidden for landscape orientation */
.hide-for-portrait /* Hidden for portrait orientation */
/* The touch detection classes */
.show-for-touch /* Visible for touch enabled devices */
.hide-for-touch /* Hidden for touch enabled devices */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment