Skip to content

Instantly share code, notes, and snippets.

@ianrose
Created October 27, 2014 16:39
Show Gist options
  • Save ianrose/25fac91fbc7ece801cf9 to your computer and use it in GitHub Desktop.
Save ianrose/25fac91fbc7ece801cf9 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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;
}
}
@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