Skip to content

Instantly share code, notes, and snippets.

@steinsag
Created January 18, 2013 20:14
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 steinsag/4568127 to your computer and use it in GitHub Desktop.
Save steinsag/4568127 to your computer and use it in GitHub Desktop.
While using a grid system, it is not possible to position elements outside the grid. However, one is not forced to use the grid for the whole page. You can have multiple grids on a single page.
<body>
<header>
<hgroup class="container">
...
</hgroup>
<nav class="row">
<ul class="container">
<li><a href="/about">Über mich</a></li>
<li>...</li>
</ul>
</nav>
</header>
<section id="content_wrap" class="container row">
<section id="article_listing" class="col span_8">
<article class="row">
...
</article>
</section>
<aside class="col span_2">...</aside>
<aside class="col span_2">...</aside>
</section>
<footer class="container">
...
</footer>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment