Created
July 30, 2014 19:35
-
-
Save startinggravity/cd26d6de7d8779f2b4f4 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
<div class="foo"> | |
Barley sour/acidic noble hops additive? Hop back keg degrees plato pitch crystal malt, barley. Crystal malt, mead, dry hopping, additive autolysis bung. Top-fermenting yeast scotch ale length fermentation krug crystal malt dry hopping! "Brewhouse craft centennial maris otter." | |
</div> |
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.12) | |
// Compass (v1.0.0.alpha.21) | |
// Breakpoint (v2.4.6) | |
// Singularity.gs (v1.2.0.rc.6) | |
// ---- | |
@import "breakpoint"; | |
@import "compass"; | |
@import "singularitygs"; | |
/*** Breakpoints *** */ | |
$breakpoint-hamburger: 20em; | |
$breakpoint-tabs: 36.25em; | |
$breakpoint-twocolumn: 56.25em; | |
$breakpoint-fullfeatures: 68.75em; | |
//** Example *** | |
.foo { | |
padding: 10px; | |
color: white; | |
@include breakpoint($breakpoint-hamburger) { | |
background: green; | |
&:before { | |
color: yellow; | |
content: 'This is the hamburger breakpoint --'; | |
} | |
} | |
@include breakpoint($breakpoint-tabs) { | |
background: purple; | |
&:before { | |
color: yellow; | |
content: 'This is the tabs breakpoint --'; | |
} | |
} | |
@include breakpoint($breakpoint-twocolumn) { | |
background: blue; | |
&:before { | |
color: yellow; | |
content: 'This is the twocolumn breakpoint --'; | |
} | |
} | |
@include breakpoint($breakpoint-fullfeatures) { | |
background: red; | |
&:before { | |
color: yellow; | |
content: 'This is the fullfeatures breakpoint --'; | |
} | |
} | |
} |
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
/*** Breakpoints *** */ | |
.foo { | |
padding: 10px; | |
color: white; | |
} | |
@media (min-width: 20em) { | |
.foo { | |
background: green; | |
} | |
.foo:before { | |
color: yellow; | |
content: 'This is the hamburger breakpoint --'; | |
} | |
} | |
@media (min-width: 36.25em) { | |
.foo { | |
background: purple; | |
} | |
.foo:before { | |
color: yellow; | |
content: 'This is the tabs breakpoint --'; | |
} | |
} | |
@media (min-width: 56.25em) { | |
.foo { | |
background: blue; | |
} | |
.foo:before { | |
color: yellow; | |
content: 'This is the twocolumn breakpoint --'; | |
} | |
} | |
@media (min-width: 68.75em) { | |
.foo { | |
background: red; | |
} | |
.foo:before { | |
color: yellow; | |
content: 'This is the fullfeatures breakpoint --'; | |
} | |
} |
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
<div class="foo"> | |
Barley sour/acidic noble hops additive? Hop back keg degrees plato pitch crystal malt, barley. Crystal malt, mead, dry hopping, additive autolysis bung. Top-fermenting yeast scotch ale length fermentation krug crystal malt dry hopping! "Brewhouse craft centennial maris otter." | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment