Created
May 23, 2018 04:06
-
-
Save caitfriedlander/196e7b1ce770e53cf0b94fe5c7fe28b9 to your computer and use it in GitHub Desktop.
ELK Web Design // source http://jsbin.com/yedokoh
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>ELK Web Design</title> | |
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,800" rel="stylesheet" type="text/css"> | |
<style id="jsbin-css"> | |
body { | |
font-size: 18px; | |
font-family: 'Open Sans', sans serif; | |
} | |
h1 { | |
font-size: 36px; | |
} | |
h1, h2 { | |
text-transform: uppercase; | |
border-bottom: 4px solid black; | |
display: inline-block; | |
font-weight: 800; | |
} | |
h2 { | |
font-size: 27px; | |
padding: 13px 0px; | |
color: #fffebb; | |
border-bottom-color: #fffebb; | |
} | |
img { | |
display: block; | |
margin: 0 auto; | |
width: 480px; | |
} | |
ul { | |
list-style: none; | |
} | |
li{ | |
float:left; | |
width: 50%; | |
height: 96px; | |
outline: 3px solid #222222; | |
text-align: center; | |
line-height: 96px; | |
color: black; | |
background: white; | |
} | |
nav { | |
font-size: 24px; | |
float: right; | |
} | |
nav a { | |
text-decoration: none; | |
color: black; | |
margin: 13px 30px; | |
display: inline-block; | |
} | |
div { | |
font-size: 20px; | |
width: 46%; | |
display: inline-block; | |
padding: 2%; | |
} | |
section { | |
background: #222222; | |
color: white; | |
overflow: auto; | |
} | |
.about { | |
float: left; | |
} | |
.services { | |
float: right; | |
} | |
footer { | |
text-align: center; | |
padding: 18px 0; | |
clear: both; | |
} | |
.hero { | |
width: 100%; | |
display: block; | |
margin: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<header> | |
<h1>ELK Web Design</h1> | |
<nav> | |
<a href="#">work</a> | |
<a href="#">about</a> | |
<a href="#">contact</a> | |
</nav> | |
<div class="hero"> | |
<img src="http://i.imgur.com/pdsjjxD.jpg"> | |
</div> | |
</header> | |
<section> | |
<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> | |
</section> | |
<footer>© 2017 ELK</footer> | |
<script id="jsbin-source-css" type="text/css">body { | |
font-size: 18px; | |
font-family: 'Open Sans', sans serif; | |
} | |
h1 { | |
font-size: 36px; | |
} | |
h1, h2 { | |
text-transform: uppercase; | |
border-bottom: 4px solid black; | |
display: inline-block; | |
font-weight: 800; | |
} | |
h2 { | |
font-size: 27px; | |
padding: 13px 0px; | |
color: #fffebb; | |
border-bottom-color: #fffebb; | |
} | |
img { | |
display: block; | |
margin: 0 auto; | |
width: 480px; | |
} | |
ul { | |
list-style: none; | |
} | |
li{ | |
float:left; | |
width: 50%; | |
height: 96px; | |
outline: 3px solid #222222; | |
text-align: center; | |
line-height: 96px; | |
color: black; | |
background: white; | |
} | |
nav { | |
font-size: 24px; | |
float: right; | |
} | |
nav a { | |
text-decoration: none; | |
color: black; | |
margin: 13px 30px; | |
display: inline-block; | |
} | |
div { | |
font-size: 20px; | |
width: 46%; | |
display: inline-block; | |
padding: 2%; | |
} | |
section { | |
background: #222222; | |
color: white; | |
overflow: auto; | |
} | |
.about { | |
float: left; | |
} | |
.services { | |
float: right; | |
} | |
footer { | |
text-align: center; | |
padding: 18px 0; | |
clear: both; | |
} | |
.hero { | |
width: 100%; | |
display: block; | |
margin: 0; | |
}</script> | |
</body> | |
</html> |
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: 36px; | |
} | |
h1, h2 { | |
text-transform: uppercase; | |
border-bottom: 4px solid black; | |
display: inline-block; | |
font-weight: 800; | |
} | |
h2 { | |
font-size: 27px; | |
padding: 13px 0px; | |
color: #fffebb; | |
border-bottom-color: #fffebb; | |
} | |
img { | |
display: block; | |
margin: 0 auto; | |
width: 480px; | |
} | |
ul { | |
list-style: none; | |
} | |
li{ | |
float:left; | |
width: 50%; | |
height: 96px; | |
outline: 3px solid #222222; | |
text-align: center; | |
line-height: 96px; | |
color: black; | |
background: white; | |
} | |
nav { | |
font-size: 24px; | |
float: right; | |
} | |
nav a { | |
text-decoration: none; | |
color: black; | |
margin: 13px 30px; | |
display: inline-block; | |
} | |
div { | |
font-size: 20px; | |
width: 46%; | |
display: inline-block; | |
padding: 2%; | |
} | |
section { | |
background: #222222; | |
color: white; | |
overflow: auto; | |
} | |
.about { | |
float: left; | |
} | |
.services { | |
float: right; | |
} | |
footer { | |
text-align: center; | |
padding: 18px 0; | |
clear: both; | |
} | |
.hero { | |
width: 100%; | |
display: block; | |
margin: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment