Created
August 31, 2017 05:18
-
-
Save skippednote/b07fa1ac16d99e00b5006172ea67e549 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.21) | |
// Compass (v1.0.3) | |
// Breakpoint (v2.6.1) | |
// Breakpoint Slicer (v2.0.0) | |
// ---- | |
@import "breakpoint"; | |
@import "breakpoint-slicer"; | |
$thumb: 0; | |
$palm: 30rem; | |
$lap: 48rem; | |
$desk: 64rem; | |
$slicer-anti-overlap-corrections: 1px, -0.1em, -0.1rem; | |
$slicer-breakpoints: $thumb $palm $lap $desk; | |
$slicer-breakpoint-names: 'thumb', 'palm', 'lap', 'desk'; | |
@include at('thumb') { | |
body { | |
background: red; | |
} | |
} | |
@include to('desk') { | |
body { | |
background: red; | |
} | |
} | |
@include from('palm') { | |
body { | |
background: black; | |
} | |
} | |
@include between('palm', 'desk') { | |
body { | |
background: green; | |
} | |
} |
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 (max-width: 29.9rem) { | |
body { | |
background: red; | |
} | |
} | |
body { | |
background: red; | |
} | |
@media (min-width: 30rem) { | |
body { | |
background: black; | |
} | |
} | |
@media (min-width: 30rem) { | |
body { | |
background: green; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment