Created
November 3, 2015 23:48
-
-
Save kaelig/ad6af406b9b60e7df1ad 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@import 'mq'; | |
test { | |
width: 319px / 16px * 1em; | |
width: 320px / 16px * 1em - 0.01em; | |
@include mq(mobile) { | |
content: 'mobile and up'; | |
} | |
@include mq($until: mobile) { | |
content: 'up to mobile'; | |
} | |
} |
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
test { | |
width: 19.9375em; | |
width: 19.99em; | |
} | |
@media (min-width: 20em) { | |
test { | |
content: 'mobile and up'; | |
} | |
} | |
@media (max-width: 19.99em) { | |
test { | |
content: 'up to mobile'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment