Skip to content

Instantly share code, notes, and snippets.

@krisbulman
Created April 22, 2014 13:57
Show Gist options
  • Select an option

  • Save krisbulman/11180257 to your computer and use it in GitHub Desktop.

Select an option

Save krisbulman/11180257 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="example">Breakpoint Test</div>
// ----
// Sass (v3.2.19)
// Compass (v0.12.6)
// Breakpoint (v2.0.7)
// ----
@import "breakpoint";
// Breakpoint
// ----------
$breakpoint-to-ems: true;
$breakpoints: 'tablet' 768px,
'desktop' 1230px;
$breakpoint-no-query-fallbacks: false;
.example {
background: green;
@include respond-to(tablet) {
background: orange;
}
@include respond-to(desktop) {
background: red;
}
}
.example {
background: green;
}
@media (min-width: 48em) {
.example {
background: orange;
}
}
@media (min-width: 76.875em) {
.example {
background: red;
}
}
<div class="example">Breakpoint Test</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment