Created
August 12, 2016 18:13
-
-
Save anonymous/971a2ab5d750ff1816aa2f09e7a3212f to your computer and use it in GitHub Desktop.
// source http://jsbin.com/gurove
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> | |
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,800" rel="stylesheet" type="text/css"> | |
<title></title> | |
<style id="jsbin-css"> | |
body { | |
font-size: 18px; | |
font-family: 'Open Sans', sans-serif; | |
} | |
div { | |
font-size: 1.2em; | |
width: 50%; | |
display: inline-block; | |
width: 46%; | |
padding: 2%; | |
} | |
#about { | |
float: left; | |
} | |
#services { | |
float: right; | |
} | |
h1 { | |
font-size: 2em; | |
} | |
nav { | |
} | |
nav a { | |
text-decoration: none; | |
color: black; | |
margin: 1.8em; | |
display: inline-block; | |
float: right; | |
} | |
img { | |
width: 480px; | |
} | |
li { | |
float: left; | |
width: 50%; | |
height: 6em; | |
outline: 3px solid #222222; | |
text-align: center; | |
line-height: 6em; | |
color: black; | |
background: white; | |
} | |
h2 { | |
font-size: 1.5em; | |
padding: .8em; | |
color: #fffebb; | |
border-bottom: #fffebb; | |
} | |
h1, h2 { | |
text-transform: uppercase; | |
border-bottom: 4px solid black; | |
display: inline-block; | |
font-weight: 800; | |
} | |
img { | |
display: block; | |
margin: 0 auto; | |
} | |
section { | |
background: #222222; | |
color: white; | |
overflow: auto; | |
} | |
ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
footer { | |
text-align: center; | |
padding: 1em 0; | |
clear: both; | |
} | |
</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> | |
<h2>About</h2> | |
<p>Elk provides clean and innovative sites for small businesses, artists, and professionals.</p> | |
</div> | |
<div> | |
<h2>Services</h2> | |
<ul> | |
<li>HTML</li> | |
<li>CSS</li> | |
<li>Responsive</li> | |
<li>Visual Design</li> | |
</ul> | |
</div> | |
</section> | |
<footer>© 2014 ELK</footer> | |
<script id="jsbin-source-html" type="text/html"> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,800" rel="stylesheet" type="text/css"> | |
<title></title> | |
</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> | |
<h2>About</h2> | |
<p>Elk provides clean and innovative sites for small businesses, artists, and professionals.</p> | |
</div> | |
<div> | |
<h2>Services</h2> | |
<ul> | |
<li>HTML</li> | |
<li>CSS</li> | |
<li>Responsive</li> | |
<li>Visual Design</li> | |
</ul> | |
</div> | |
</section> | |
<footer>© 2014 ELK</footer> | |
</body> | |
</html></script> | |
<script id="jsbin-source-css" type="text/css"> | |
body { | |
font-size: 18px; | |
font-family: 'Open Sans', sans-serif; | |
} | |
div { | |
font-size: 1.2em; | |
width: 50%; | |
display: inline-block; | |
width: 46%; | |
padding: 2%; | |
} | |
#about { | |
float: left; | |
} | |
#services { | |
float: right; | |
} | |
h1 { | |
font-size: 2em; | |
} | |
nav { | |
} | |
nav a { | |
text-decoration: none; | |
color: black; | |
margin: 1.8em; | |
display: inline-block; | |
float: right; | |
} | |
img { | |
width: 480px; | |
} | |
li { | |
float: left; | |
width: 50%; | |
height: 6em; | |
outline: 3px solid #222222; | |
text-align: center; | |
line-height: 6em; | |
color: black; | |
background: white; | |
} | |
h2 { | |
font-size: 1.5em; | |
padding: .8em; | |
color: #fffebb; | |
border-bottom: #fffebb; | |
} | |
h1, h2 { | |
text-transform: uppercase; | |
border-bottom: 4px solid black; | |
display: inline-block; | |
font-weight: 800; | |
} | |
img { | |
display: block; | |
margin: 0 auto; | |
} | |
section { | |
background: #222222; | |
color: white; | |
overflow: auto; | |
} | |
ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
footer { | |
text-align: center; | |
padding: 1em 0; | |
clear: both; | |
}</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; | |
} | |
div { | |
font-size: 1.2em; | |
width: 50%; | |
display: inline-block; | |
width: 46%; | |
padding: 2%; | |
} | |
#about { | |
float: left; | |
} | |
#services { | |
float: right; | |
} | |
h1 { | |
font-size: 2em; | |
} | |
nav { | |
} | |
nav a { | |
text-decoration: none; | |
color: black; | |
margin: 1.8em; | |
display: inline-block; | |
float: right; | |
} | |
img { | |
width: 480px; | |
} | |
li { | |
float: left; | |
width: 50%; | |
height: 6em; | |
outline: 3px solid #222222; | |
text-align: center; | |
line-height: 6em; | |
color: black; | |
background: white; | |
} | |
h2 { | |
font-size: 1.5em; | |
padding: .8em; | |
color: #fffebb; | |
border-bottom: #fffebb; | |
} | |
h1, h2 { | |
text-transform: uppercase; | |
border-bottom: 4px solid black; | |
display: inline-block; | |
font-weight: 800; | |
} | |
img { | |
display: block; | |
margin: 0 auto; | |
} | |
section { | |
background: #222222; | |
color: white; | |
overflow: auto; | |
} | |
ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
footer { | |
text-align: center; | |
padding: 1em 0; | |
clear: both; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment