Last active
January 2, 2016 00:59
-
-
Save rpkoller/8226741 to your computer and use it in GitHub Desktop.
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
<header> | |
<div class="container"> | |
<div class="logo">Logo</div> | |
<div class="user">User</div> | |
</div> | |
</header> |
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
/* Mixins */ | |
@import 'compass'; | |
@import 'breakpoint'; | |
@import 'singularitygs'; | |
/* Variables */ | |
$grids: 12; | |
$gutters: 1/3; | |
/* Styles */ | |
* { @include box-sizing('border-box'); } | |
.container { | |
@include background-grid; | |
margin: 0 auto; | |
min-height: 100%; | |
max-width: 960px; | |
@include clearfix; | |
} | |
header { | |
.logo { | |
@include grid-span(4, 1); | |
background-color:red; | |
} | |
.user { | |
@include grid-span(4, 9); | |
background-color:green; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment