Skip to content

Instantly share code, notes, and snippets.

@ThePeach
Created September 14, 2015 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThePeach/5afc53f7e0212a1c3f63 to your computer and use it in GitHub Desktop.
Save ThePeach/5afc53f7e0212a1c3f63 to your computer and use it in GitHub Desktop.
yYeOXB
<div class="container">
<section class="row">
<div class="child child--one">Content</div>
<div class="child child--two">Content</div>
</section>
<section class="row">
<div class="child child--one">Content</div>
<div class="child child--two">Content</div>
</section>
<section class="row">
<div class="child child--one">Content</div>
<div class="child child--two">Content</div>
</section>
</div>
@import "bourbon";
@import "neat";
.container {
@include outer-container(800px);
}
.row {
@include padding(20px null);
@include span-columns(9 of 18);
// @include fill-parent;
// @include row(table);
background-color: #00bfff;
&:nth-child(2n) {
@include omega();
}
}
.child {
background-color: rgba(#000, 0.25);
height: 100px;
vertical-align: middle;
text-align: center;
}
.child--one {
@include span-columns(3 of 9);
border-right: 1px solid rgba(#000, 0.25);
}
.child--two {
@include span-columns(6 of 9);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment