-
-
Save datdudejibril/e5f9647952cfab4cbdc4bbf63084eb35 to your computer and use it in GitHub Desktop.
JS Bin// source http://jsbin.com/vusira
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{ | |
font-size: 18px; | |
font-family: "Open Sans", sans serif; | |
} | |
h1{ | |
font-size: 2em; | |
font-weight: 800; | |
} | |
h2{ | |
font-size: 1.5em; | |
padding: 0.8em 0; | |
font-weight: 800; | |
} | |
h1, h2{ | |
text-transform: uppercase; | |
border-bottom: 4px solid #000; | |
display: inline-block; | |
} | |
img{ | |
display: block; | |
margin: 0 auto; | |
} | |
ul{ | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
footer{ | |
text-align: center; | |
padding: 1em 0; | |
} | |
nav { | |
font-size: 1em; | |
float: right; | |
} | |
nav a{ | |
text-decoration: none; | |
margin: 1.8em; | |
display: inline-block; | |
color: #000000 | |
} |
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> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
body{ | |
font-size: 18px; | |
font-family: "Open Sans, sans serif"; | |
} | |
h1{ | |
font-size: 2em; | |
font-weight: 800; | |
} | |
h2{ | |
font-size: 1.5em; | |
padding: 0.8em 0; | |
font-weight: 800; | |
} | |
h1, h2{ | |
text-transform: uppercase; | |
border-bottom: 4px solid #000; | |
display: inline-block; | |
} | |
img{ | |
display: block; | |
margin: 0 auto; | |
} | |
ul{ | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
footer{ | |
text-align: center; | |
padding: 1em 0; | |
} | |
nav { | |
font-size: 1em; | |
float: right; | |
} | |
nav a{ | |
text-decoration: none; | |
margin: 1.8em; | |
display: inline-block; | |
x | |
} | |
</style> | |
</head> | |
<body> | |
<header> | |
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,800" rel="stylesheet" type="text/css"> | |
<h1>ELK Web Design</h1> | |
<nav> | |
<a href="#">Work</a> | |
<a href="#">About</a> | |
<a href="#">Contact</a> | |
</nav> | |
<img src="http://i.imgur.com/pdsjjxD.jpg"> | |
</header> | |
<div class="about"> | |
<h2>Who we are</h2> | |
<p>ELK provides clean and innovative sites for small businesses, artists, and professionals.</p> | |
</div> | |
<div class="services"> | |
<h2>How we do it</h2> | |
<ul> | |
<li>HTML</li> | |
<li>CSS</li> | |
<li>Responsive</li> | |
<li>Visual Design</li> | |
</ul> | |
</div> | |
<footer>© 2014 ELK</footer> | |
<script id="jsbin-source-css" type="text/css">body{ | |
font-size: 18px; | |
font-family: "Open Sans, sans serif"; | |
} | |
h1{ | |
font-size: 2em; | |
font-weight: 800; | |
} | |
h2{ | |
font-size: 1.5em; | |
padding: 0.8em 0; | |
font-weight: 800; | |
} | |
h1, h2{ | |
text-transform: uppercase; | |
border-bottom: 4px solid #000; | |
display: inline-block; | |
} | |
img{ | |
display: block; | |
margin: 0 auto; | |
} | |
ul{ | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
footer{ | |
text-align: center; | |
padding: 1em 0; | |
} | |
nav { | |
font-size: 1em; | |
float: right; | |
} | |
nav a{ | |
text-decoration: none; | |
margin: 1.8em; | |
display: inline-block; | |
x | |
}</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment