-
-
Save MBSilvaR/39ff971d9bed3da71d7acdc4fceec75f to your computer and use it in GitHub Desktop.
// source https://jsbin.com/tiduceh
This file contains hidden or 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> | |
<title></title> | |
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,800" rel="stylesheet" type="text/css"> | |
<style id="jsbin-css"> | |
nav{ | |
font-size: 1.8em; | |
float: right; | |
} | |
nav a{ | |
text-decoration: none; | |
color: black; | |
margin: 1.8em; | |
display: inline-block; | |
} | |
body { | |
font-size: 18px; | |
font-family: 'Open Sans', sans-serif; | |
} | |
h1,h2 { | |
text-transform: uppercase; | |
border-bottom: 4px solid black; | |
display: inline-block; | |
} | |
h1 { | |
font-size: 2em; | |
font-weight: 800; | |
} | |
h2 { | |
font-size: 1.5em; | |
padding: .8em 0; | |
font-weight: 800; | |
} | |
img { | |
display: block; | |
margin: 0 auto; | |
} | |
ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
footer { | |
text-align: center; | |
padding: 1em 0; | |
} | |
</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 id= "about"> | |
<h2>Who we are</h2> | |
</div> | |
<p>Elk provides clean and innovative sites for small businesses, artists, and professionals.</p> | |
<div id= "service"> | |
<h2>How we do it</h2> | |
</div> | |
<ul> | |
<li>HTML</li> | |
<li>CSS</li> | |
<li>Responsive</li> | |
<li>Visual Design</li> | |
</ul> | |
<footer>© 2016 ELK</footer> | |
<script id="jsbin-source-css" type="text/css">nav{ | |
font-size: 1.8em; | |
float: right; | |
} | |
nav a{ | |
text-decoration: none; | |
color: black; | |
margin: 1.8em; | |
display: inline-block; | |
} | |
body { | |
font-size: 18px; | |
font-family: 'Open Sans', sans-serif; | |
} | |
h1,h2 { | |
text-transform: uppercase; | |
border-bottom: 4px solid black; | |
display: inline-block; | |
} | |
h1 { | |
font-size: 2em; | |
font-weight: 800; | |
} | |
h2 { | |
font-size: 1.5em; | |
padding: .8em 0; | |
font-weight: 800; | |
} | |
img { | |
display: block; | |
margin: 0 auto; | |
} | |
ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
footer { | |
text-align: center; | |
padding: 1em 0; | |
}</script> | |
</body> | |
</html> |
This file contains hidden or 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
nav{ | |
font-size: 1.8em; | |
float: right; | |
} | |
nav a{ | |
text-decoration: none; | |
color: black; | |
margin: 1.8em; | |
display: inline-block; | |
} | |
body { | |
font-size: 18px; | |
font-family: 'Open Sans', sans-serif; | |
} | |
h1,h2 { | |
text-transform: uppercase; | |
border-bottom: 4px solid black; | |
display: inline-block; | |
} | |
h1 { | |
font-size: 2em; | |
font-weight: 800; | |
} | |
h2 { | |
font-size: 1.5em; | |
padding: .8em 0; | |
font-weight: 800; | |
} | |
img { | |
display: block; | |
margin: 0 auto; | |
} | |
ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
footer { | |
text-align: center; | |
padding: 1em 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment