Created
February 28, 2015 14:27
-
-
Save lmartins/4147efbb571674fbf20d 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"> | |
<div class="col col01">col01</div> | |
<div class="col col02"> | |
<div>col02</div> | |
<div class="col col02-1">col02-1</div> | |
<div class="col col02-2">col02-2</div> | |
</div> | |
<div class="col col03">col03</div> | |
</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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
@import "susy"; | |
$max-content-width : 86em; | |
$max-container-width : 1400px; | |
$susy: ( | |
math: fluid, | |
output: float, | |
gutter-position: split, | |
container: $max-content-width, | |
container-position: center, | |
columns: 12, | |
gutters: 0.35, | |
global-box-sizing: border-box, | |
last-flow: to, | |
debug: ( | |
image: hide, | |
color: rgba(#66f, .25), | |
output: background, | |
toggle: top right, | |
) | |
); | |
* { | |
box-sizing: border-box; | |
} | |
.container{ | |
@include container(); | |
@include show-grid(background); | |
border: 1px solid #ccc; | |
> .col{ | |
@include span(4 of 12); | |
border: 1px solid #ccc; | |
} | |
} | |
.col02-1, | |
.col02-2{ | |
@include span(2 of 4); | |
border: 1px solid red; | |
} |
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
* { | |
box-sizing: border-box; } | |
.container { | |
max-width: 86em; | |
margin-left: auto; | |
margin-right: auto; | |
border: 1px solid #ccc; } | |
.container:after { | |
content: " "; | |
display: block; | |
clear: both; } | |
.container > .col { | |
width: 31.17284%; | |
float: left; | |
margin-left: 1.08025%; | |
margin-right: 1.08025%; | |
border: 1px solid #ccc; } | |
.col02-1, .col02-2 { | |
width: 43.51852%; | |
float: left; | |
margin-left: 3.24074%; | |
margin-right: 3.24074%; | |
border: 1px solid red; } |
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"> | |
<div class="col col01">col01</div> | |
<div class="col col02"> | |
<div>col02</div> | |
<div class="col col02-1">col02-1</div> | |
<div class="col col02-2">col02-2</div> | |
</div> | |
<div class="col col03">col03</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment