Created
May 28, 2015 22:18
-
-
Save ind1go/ae94730654bbec408197 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> | |
<div class="left"></div> | |
<div class="middle-top"></div> | |
<div class="middle-left"></div> | |
<div class="middle-right"></div> | |
<div class="right"></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.2.4) | |
// ---- | |
@import "singularitygs"; | |
$green: #8cd211; | |
$dblue: #325c80; | |
$lblue: #5aaafa; | |
@include add-grid(6); | |
@include add-gutter(1/3); | |
@include add-gutter-style('split'); | |
%side-col { | |
background-color: $green; | |
height: 30em; | |
} | |
.left { | |
@include grid-span(2, 1); | |
@extend %side-col; | |
} | |
.middle-top { | |
@include grid-span(2, 3); | |
background-color: $lblue; | |
height: 10em; | |
} | |
.middle-left { | |
@include grid-span(1, 3); | |
background-color: $dblue; | |
height: 10em; | |
} | |
.middle-right { | |
@include grid-span(1, 4); | |
background-color: $dblue; | |
height: 10em; | |
} | |
.right { | |
@include grid-span(2, 5); | |
@extend %side-col; | |
} |
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
.left, .right { | |
background-color: #8cd211; | |
height: 30em; | |
} | |
.left { | |
width: 29.16667%; | |
float: left; | |
margin-right: -100%; | |
margin-left: 2.08333%; | |
clear: none; | |
} | |
.middle-top { | |
width: 29.16667%; | |
float: left; | |
margin-right: -100%; | |
margin-left: 35.41667%; | |
clear: none; | |
background-color: #5aaafa; | |
height: 10em; | |
} | |
.middle-left { | |
width: 12.5%; | |
float: left; | |
margin-right: -100%; | |
margin-left: 35.41667%; | |
clear: none; | |
background-color: #325c80; | |
height: 10em; | |
} | |
.middle-right { | |
width: 12.5%; | |
float: left; | |
margin-right: -100%; | |
margin-left: 52.08333%; | |
clear: none; | |
background-color: #325c80; | |
height: 10em; | |
} | |
.right { | |
width: 29.16667%; | |
float: right; | |
margin-left: 0; | |
margin-right: 2.08333%; | |
clear: none; | |
} |
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> | |
<div class="left"></div> | |
<div class="middle-top"></div> | |
<div class="middle-left"></div> | |
<div class="middle-right"></div> | |
<div class="right"></div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment