Created
October 19, 2011 17:42
-
-
Save anonymous/1299070 to your computer and use it in GitHub Desktop.
design
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: #F5F6CE; | |
margin: 3%; | |
} | |
header { | |
background: #FF9AED; | |
height: 100px; | |
} | |
nav { | |
background: #9AFFB3; | |
width: 30%; | |
float:left; | |
} | |
section { | |
background: #87ADFF; | |
width: 70%; | |
float:left; | |
} | |
article { | |
background: #BCA9F5; | |
} | |
footer { | |
background: #FFC887; | |
height: 100px; | |
clear: both; | |
} |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Sample</title> | |
<link rel="stylesheet" href="sample.css" type="text/css"> | |
</head> | |
<body> | |
<header> | |
<h1>header</h1> | |
</header> | |
<nav> | |
<h1>nav</h1> | |
</nav> | |
<section> | |
<h1>section</h1> | |
<article> | |
<h2>article1</h2> | |
</article> | |
<article> | |
<h2>article2</h2> | |
</article> | |
<article> | |
<h2>article3</h2> | |
</article> | |
</section> | |
<footer> | |
<h1>footer</h1> | |
</footer> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment