Skip to content

Instantly share code, notes, and snippets.

@bsturdivan
Created January 4, 2013 00:47
Show Gist options
  • Save bsturdivan/4448930 to your computer and use it in GitHub Desktop.
Save bsturdivan/4448930 to your computer and use it in GitHub Desktop.
<!-- The Markup -->
<div class="container">
<a href="" class="leaderboard-story">
<div></div>
<div></div>
</a>
<a href="" class="leaderboard-story">
<div></div>
<div></div>
</a>
<a href="" class="leaderboard-story">
<div></div>
<div></div>
</a>
</div>
<!-- SASS File -->
.container {
@include clearfix();
}
.container > div {
margin-bottom: 20px;
width: auto;
overflow: hidden;
}
.container div > div:first-child {
margin-left: 0;
}
.leaderboard-story div {
@include make-column(2); // Mixin difining grid cols
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment