Skip to content

Instantly share code, notes, and snippets.

@ryohang
Forked from cbednarski/404.html
Last active August 29, 2015 14:20
Show Gist options
  • Save ryohang/cd80e616a0b26c9130a7 to your computer and use it in GitHub Desktop.
Save ryohang/cd80e616a0b26c9130a7 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
background-color: #333;
font: 60px 'Helvetica, Arial, Ubuntu, sans-serif';
color: #111;
}
h1 {
font-size: 160px;
}
.letterpress {
text-shadow: 0px 1px 1px #484848;
color: #222;
}
#center-page {
position: absolute;
height: 4em;
left: 50%;
top: 50%;
width: 9em;
margin-left: -4.5em;
margin-top: -4em;
}
#center-page * {
margin: 0;
}
</style>
</head>
<body>
<div id="center-page" class="letterpress">
<h1>404</h1>
<p>Page Not Found</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment