Skip to content

Instantly share code, notes, and snippets.

@stuartpb
Created November 28, 2013 03:51
Show Gist options
  • Save stuartpb/7687026 to your computer and use it in GitHub Desktop.
Save stuartpb/7687026 to your computer and use it in GitHub Desktop.
A bare-bones centered content page, for bootstrapping an initial placeholder
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Coming soon</title>
<style>
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
text-align: center;
}
body::before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
main {
display: inline-block;
vertical-align: middle;
width: 100%;
}
</style>
</head>
<body><main>
<!-- Replace this comment with content, eg. a Twitter widget -->
</main></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment