Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using whitespace for big parts of a website
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>Whitespace is important</title>
<div class="wrapper">
<!-- Header-Region -->
<header class="header">
<div role="banner">
<a href="">Whitespace-Header</a>
<!-- Navigation -->
<nav class="main-nav">
<!-- ... -->
<!-- Some content goes in here -->
<div class="content">
<!-- ... -->
<!-- And the sidebar -->
<aside class="sidebar">
<div class="widget">
<!-- ... -->
<div class="widget">
<!-- ... -->
<!-- JavaScript at the bottom for fast page loading -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment