Skip to content

Instantly share code, notes, and snippets.

@bassjobsen
Created April 30, 2015 23:30
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 bassjobsen/a96439d9062ec6fddd73 to your computer and use it in GitHub Desktop.
Save bassjobsen/a96439d9062ec6fddd73 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<section>
<div class="homepage-content">content</div>
<div class="homepage-sidebar">sidebar</div>
</section>
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// Bourbon (v4.2.2)
// Neat (v1.6.0)
// ----
@import "bourbon/bourbon";
@import "neat/neat";
section {
@include outer-container;
}
.homepage-content {
@include span-columns(8); float:right;
}
.homepage-sidebar {
@include span-columns(4);
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
section {
*zoom: 1;
max-width: 68em;
margin-left: auto;
margin-right: auto;
}
section:before, section:after {
content: " ";
display: table;
}
section:after {
clear: both;
}
.homepage-content {
float: left;
display: block;
margin-right: 2.35765%;
width: 65.88078%;
float: right;
}
.homepage-content:last-child {
margin-right: 0;
}
.homepage-sidebar {
float: left;
display: block;
margin-right: 2.35765%;
width: 31.76157%;
}
.homepage-sidebar:last-child {
margin-right: 0;
}
<section>
<div class="homepage-content">content</div>
<div class="homepage-sidebar">sidebar</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment