Skip to content

Instantly share code, notes, and snippets.

@startinggravity
Created July 26, 2014 14:23
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 startinggravity/ac687ed661abcf3aa5e5 to your computer and use it in GitHub Desktop.
Save startinggravity/ac687ed661abcf3aa5e5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<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>
// ----
// Sass (v3.3.10)
// Compass (v1.0.0.alpha.20)
// Breakpoint (v2.4.2)
// Singularity.gs (v1.2.1)
// ----
@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: blue;
&:after {
content: 'This is the hamburger breakpoint';
}
}
@include breakpoint($breakpoint-tabs) {
background: red;
&:after {
content: 'This is the tabs breakpoint';
}
}
}
/*** Breakpoints *** */
.foo {
padding: 10px;
color: white;
}
@media (min-width: 20em) {
.foo {
background: blue;
}
.foo:after {
content: 'This is the hamburger breakpoint';
}
}
@media (min-width: 36.25em) {
.foo {
background: blue;
}
.foo:after {
content: 'This is the tabs breakpoint';
}
}
<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