Created
October 27, 2014 16:39
-
-
Save ianrose/25fac91fbc7ece801cf9 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.6) | |
// Compass (v1.0.1) | |
// ---- | |
$breakpoint: 480px, 768px, 992px; | |
// Sets background color when the screen's width is | |
// the 2nd list item $breapoints, 768px | |
div { | |
@media (min-width: nth($breakpoint, 2)) { | |
background: red; | |
} | |
} |
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: 768px) { | |
div { | |
background: red; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment