Created
June 4, 2014 22:13
-
-
Save fragje/b1b1654a93847d552368 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="container"> | |
<main>Main</main> | |
<aside>Aside</aside> | |
<footer>Footer</footer> | |
</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.7) | |
// Compass (v1.0.0.alpha.18) | |
// Breakpoint (v2.4.2) | |
// Susy (v2.1.2) | |
// ---- | |
@import "susy"; | |
@import "breakpoint"; | |
.container { | |
@include container(80%); | |
} | |
$susy: ( | |
columns: 12, | |
gutters: 1/2, | |
); | |
@include breakpoint(40em) { | |
} | |
main { | |
background-color: orange; | |
@include span(9); | |
} | |
aside { | |
background-color: dodgerblue; | |
@include span(3 last); | |
} | |
footer { | |
background-color: yellow; | |
clear: left; | |
@include span(4 at 2); | |
} |
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 { | |
max-width: 80%; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.container:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
main { | |
background-color: orange; | |
width: 74.28571%; | |
float: left; | |
margin-right: 2.85714%; | |
} | |
aside { | |
background-color: dodgerblue; | |
width: 22.85714%; | |
float: right; | |
margin-right: 0; | |
} | |
footer { | |
background-color: yellow; | |
clear: left; | |
width: 31.42857%; | |
float: left; | |
margin-right: 2.85714%; | |
} |
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="container"> | |
<main>Main</main> | |
<aside>Aside</aside> | |
<footer>Footer</footer> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment