Skip to content

Instantly share code, notes, and snippets.

@drublic
Created April 22, 2012 19:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save drublic/2466291 to your computer and use it in GitHub Desktop.
Save drublic/2466291 to your computer and use it in GitHub Desktop.
Using whitespace for big parts of a website
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Whitespace is important</title>
</head>
<body>
<div class="wrapper">
<!-- Header-Region -->
<header class="header">
<div role="banner">
<a href="http://drublic.de/">Whitespace-Header</a>
</div>
<!-- Navigation -->
<nav class="main-nav">
<!-- ... -->
</nav>
</header>
<!-- Some content goes in here -->
<div class="content">
<!-- ... -->
</div>
<!-- And the sidebar -->
<aside class="sidebar">
<div class="widget">
<!-- ... -->
</div>
<div class="widget">
<!-- ... -->
</div>
</aside>
</div>
<!-- JavaScript at the bottom for fast page loading -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment