Skip to content

Instantly share code, notes, and snippets.

@caitfriedlander
Forked from anonymous/index.html
Created September 15, 2016 23:19
Show Gist options
  • Save caitfriedlander/042da14c6807296aea428dcae3c3a640 to your computer and use it in GitHub Desktop.
Save caitfriedlander/042da14c6807296aea428dcae3c3a640 to your computer and use it in GitHub Desktop.
<!-- Copy over your previous HTML code below-->
<html>
<head>
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,800" rel="stylesheet" type="text/css">
<title></title>
<style id="jsbin-css">
/*Copy over your previous HTML code below
*/
body {
font-size: 18px;
font-family: "Open Sans";
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
padding: .8em 0;
}
h1, h2 {
text-transform: uppercase;
border-bottom: 4px solid black;
display: inline-block;
font-weight: 800;
}
img {
display: block;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
footer {
text-align: center;
padding: 1em 0;
}
nav {
margin: 1.8em;
display: inline-block;
font-size: 1.8em;
float: right;
}
nav a {
text-decoration: none;
color: black;
}
</style>
</head>
<body>
<header>
<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>What We Do</h2>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>Responsive</li>
<li>Visual Design</li>
</ul>
</div>
<footer>
<p>© 2014 ELK</p>
</footer>
<script id="jsbin-source-css" type="text/css">/*Copy over your previous HTML code below
*/
body {
font-size: 18px;
font-family: "Open Sans";
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
padding: .8em 0;
}
h1, h2 {
text-transform: uppercase;
border-bottom: 4px solid black;
display: inline-block;
font-weight: 800;
}
img {
display: block;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
footer {
text-align: center;
padding: 1em 0;
}
nav {
margin: 1.8em;
display: inline-block;
font-size: 1.8em;
float: right;
}
nav a {
text-decoration: none;
color: black;
}</script>
</body>
</html>
/*Copy over your previous HTML code below
*/
body {
font-size: 18px;
font-family: "Open Sans";
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
padding: .8em 0;
}
h1, h2 {
text-transform: uppercase;
border-bottom: 4px solid black;
display: inline-block;
font-weight: 800;
}
img {
display: block;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
footer {
text-align: center;
padding: 1em 0;
}
nav {
margin: 1.8em;
display: inline-block;
font-size: 1.8em;
float: right;
}
nav a {
text-decoration: none;
color: black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment