Created
July 15, 2014 15:17
-
-
Save geibi/d76c7ccff2b61320e220 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="sidebar">sidebar</div> | |
<div class="content">content</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
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// Breakpoint (v2.4.2) | |
// Singularity.gs (v1.2.1) | |
// ---- | |
@import "compass"; | |
@import 'breakpoint'; | |
@import 'singularitygs'; | |
@include add-grid(4); | |
@include add-gutter-style('split'); | |
@include add-gutter(20px); | |
@include sgs-change('output', 'float'); | |
*{ | |
@include box-sizing('border-box'); | |
} | |
.container{ | |
width: 800px; | |
height: 100vh; | |
margin: 0 auto; | |
background: rgba(black, .5); | |
} | |
.sidebar{ | |
height: 50vh; | |
background: rgba(yellow, .5); | |
@include grid-span(2,1); | |
} | |
.content{ | |
height: 50vh; | |
background: rgba(red, .5); | |
@include grid-span(2,3); | |
} |
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
* { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.container { | |
width: 800px; | |
height: 100vh; | |
margin: 0 auto; | |
background: rgba(0, 0, 0, 0.5); | |
} | |
.sidebar { | |
height: 50vh; | |
background: rgba(255, 255, 0, 0.5); | |
width: 50%; | |
clear: right; | |
float: left; | |
padding-left: 10px; | |
padding-right: 10px; | |
} | |
.content { | |
height: 50vh; | |
background: rgba(255, 0, 0, 0.5); | |
width: 50%; | |
clear: right; | |
float: right; | |
padding-left: 10px; | |
padding-right: 10px; | |
} |
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="sidebar">sidebar</div> | |
<div class="content">content</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment