Skip to content

Instantly share code, notes, and snippets.

@albertoperdomo
Created September 22, 2010 11:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save albertoperdomo/591505 to your computer and use it in GitHub Desktop.
Short example of 960.gs vs. Compass + 960.gs
// HTML using 960.gs
<body>
<div class="container_16">
// more stuff
<div class="grid_4">
Sidebar
</div>
// more stuff
</div>
</body>
// HTML using compass + 960.gs
<body>
<div class="page">
// more stuff
<div class="sidebar">
Sidebar
</div>
// more stuff
</div>
</body>
// more stuff
.page{
@include grid-container(16)
}
.sidebar{
@include grid(4);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment