Skip to content

Instantly share code, notes, and snippets.

@yumitsu
Created August 30, 2014 19:10
Show Gist options
  • Save yumitsu/b107e41defea469d65f1 to your computer and use it in GitHub Desktop.
Save yumitsu/b107e41defea469d65f1 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.1)
// Compass (v1.0.1)
// Breakpoint (v2.5.0)
// ----
@import "compass";
@import "memo";
@import "breakpoint";
$breakpoint-default-pair: device-width;
$devices: (ipads: (768px 1024px), iphone: (320px 480px), iphone5: (320px 568px));
@each $device in $devices {
@include breakpoint(nth($device, 2)) {
.class {
display: none;
}
}
}
@media (min-device-width: 768px) and (max-device-width: 1024px) {
.class {
display: none; } }
@media (min-device-width: 320px) and (max-device-width: 480px) {
.class {
display: none; } }
@media (min-device-width: 320px) and (max-device-width: 568px) {
.class {
display: none; } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment