Skip to content

Instantly share code, notes, and snippets.

@peterpme
Created March 21, 2014 16:01
Show Gist options
  • Save peterpme/9689484 to your computer and use it in GitHub Desktop.
Save peterpme/9689484 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="container">
<header>
<a class="logo"><img src="http://www.conyersdill.com/img/structure/logo-copy.jpg"></a>
<nav>
<a href="#">PRIMARY NAV 1</a>
<a href="#">PRIMARY NAV 2</a>
<a href="#">PRIMARY NAV 3</a>
<a href="#">PRIMARY NAV 4</a>
</nav>
</header>
<section>
main content and whatever goes here
</section>
<footer>
footer goes here
</footer>
</div>
// ----
// Sass (v3.3.3)
// Compass (v1.0.0.alpha.18)
// ----
.container{
margin:0 auto;
max-width:60em;
background:#eee;
}
section{
height:500px;
background:#ddd;
}
footer{
height:200px;
background:#333;
}
.container {
margin: 0 auto;
max-width: 60em;
background: #eee;
}
section {
height: 500px;
background: #ddd;
}
footer {
height: 200px;
background: #333;
}
<div class="container">
<header>
<a class="logo"><img src="http://www.conyersdill.com/img/structure/logo-copy.jpg"></a>
<nav>
<a href="#">PRIMARY NAV 1</a>
<a href="#">PRIMARY NAV 2</a>
<a href="#">PRIMARY NAV 3</a>
<a href="#">PRIMARY NAV 4</a>
</nav>
</header>
<section>
main content and whatever goes here
</section>
<footer>
footer goes here
</footer>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment