A Pen by Nick Sadovnikov on CodePen.
Created
November 8, 2014 14:42
-
-
Save gruzzilkin/3a14c895c8af1a08de6c to your computer and use it in GitHub Desktop.
A Pen by Nick Sadovnikov.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="header"> | |
<h1 class="title">Header</h1> | |
</section> | |
<section class="body"> | |
<h1 class="title">Content</h1> | |
</section> | |
<section class="footer"> | |
<h1 class="title">Footer</h1> | |
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: #fff; | |
} | |
.header, | |
.body, | |
.footer { | |
padding: 10px; | |
margin: 10px auto; | |
width: 600px; | |
} | |
.header { | |
background: #f00; | |
} | |
.body { | |
background: #ff0; | |
} | |
.footer { | |
background: #f0f; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment