Created
June 11, 2014 19:04
-
-
Save ezekg/2efb2b5f20f3a414085e 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.3.8) | |
// Compass (v1.0.0.alpha.19) | |
// Flint (v1.3.5) | |
// ---- | |
@import "flint"; | |
// Using media query bubbling with Flint | |
// ----------------------------------------------------------------------------------- | |
// @at : http://sass-lang.com/documentation/file.SASS_REFERENCE.html#media | |
// @download : https://github.com/ezekg/flint/ | |
.normal { | |
@include _(greater than tablet) { | |
property: value; | |
} | |
} | |
.bubble { | |
@include _(greater than tablet) { | |
// Landscape orientation | |
@media (orientation: landscape) { | |
property: value; | |
} | |
// Portrait orientation | |
@media (orientation: portrait) { | |
property: value; | |
} | |
} | |
} |
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 only screen and (min-width: 641px) { | |
.normal { | |
property: value; | |
} | |
} | |
@media only screen and (min-width: 641px) and (orientation: landscape) { | |
.bubble { | |
property: value; | |
} | |
} | |
@media only screen and (min-width: 641px) and (orientation: portrait) { | |
.bubble { | |
property: value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment