Created
December 4, 2014 20:23
-
-
Save tlattimore/f87b9158e44be9a4febe to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains 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.7) | |
// Compass (v1.0.1) | |
// Breakpoint (v2.5.0) | |
// ---- | |
@import "breakpoint"; | |
$breakpoints: ( | |
'small': 420px, | |
'medium': 600px, | |
'large': 960px, | |
'x-large': 1200px | |
); | |
@each $name, $size in $breakpoints { | |
body { | |
@include breakpoint($size) { | |
content: #{$name}; | |
} | |
} | |
} |
This file contains 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-width: 420px) { | |
body { | |
content: small; | |
} | |
} | |
@media (min-width: 600px) { | |
body { | |
content: medium; | |
} | |
} | |
@media (min-width: 960px) { | |
body { | |
content: large; | |
} | |
} | |
@media (min-width: 1200px) { | |
body { | |
content: x-large; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment