Created
August 30, 2014 19:10
-
-
Save yumitsu/b107e41defea469d65f1 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// 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; | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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