Created
August 2, 2014 13:41
-
-
Save chan-grammer/2e9e8848f1c880036a34 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.12) | |
// Compass (v1.0.0.alpha.21) | |
// Breakpoint (v2.4.6) | |
// Susy (v2.1.3) | |
// ---- | |
@import "susy"; | |
@import "breakpoint"; | |
$susy: ( | |
math: static, | |
columns: 4, | |
column-width: 60px, | |
gutters: 1/4, | |
use-custom: (rem: true) | |
); | |
.container { | |
@include container($susy); | |
@include breakpoint(600px) { | |
@include container(12); | |
} | |
@include breakpoint(900px) { | |
@include container(16); | |
} | |
} |
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
.container { | |
width: 285px; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.container:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
@media (min-width: 600px) { | |
.container { | |
width: 885px; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.container:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
} | |
@media (min-width: 900px) { | |
.container { | |
width: 1185px; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.container:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment