Skip to content

Instantly share code, notes, and snippets.

@ezekg
Created June 11, 2014 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ezekg/2efb2b5f20f3a414085e to your computer and use it in GitHub Desktop.
Save ezekg/2efb2b5f20f3a414085e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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;
}
}
}
@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