Skip to content

Instantly share code, notes, and snippets.

@spleenteo
Created February 5, 2013 23:45
Show Gist options
  • Select an option

  • Save spleenteo/4718809 to your computer and use it in GitHub Desktop.

Select an option

Save spleenteo/4718809 to your computer and use it in GitHub Desktop.
sass module template with mediaquery ready for hive grid
/* MODULE: */
#module
// SMALLER THAN TABLET LANDSCAPE
@media only screen and (max-width: $hive-phone-landscape-break - 20px)
// SMART PORTRAIT
@media only screen and (max-width: $hive-phone-portrait-break)
@media only screen and (min-width: $hive-phone-portrait-break +1) and (max-width: 480px)
// TABLET PORTRAIL AND SMARTPHONE LANDSCAPE
@media only screen and (max-width: $hive-phone-portrait-break) and (min-width: $hive-phone-landscape-break + 1px)
// TABLET LANSDSCAPE or DESKTOP
@media only screen and (min-width: $hive-desktop-break) and (max-width: $hive-cinema-break - 1px)
// HD, CINEMA DISPLAY OR WEB TV
@media only screen and (min-width: $hive-cinema-break )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment