Skip to content

Instantly share code, notes, and snippets.

@rchrd2
Last active February 16, 2016 23:56
Show Gist options
  • Save rchrd2/8b7d23c478d2652150d9 to your computer and use it in GitHub Desktop.
Save rchrd2/8b7d23c478d2652150d9 to your computer and use it in GitHub Desktop.
Barebones html5 template
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Hello</title>
<!--<link href="style.css" rel="stylesheet">-->
<style>
* { box-sizing: padding-box; }
html, body { height: 100%; }
body {
font-family: "Courier New", "Courier", monospace;
font-size: 14px;
height: 100%;
margin: 0;
padding: 0;
}
.container {
height: 100%;
position: relative;
padding: 1rem;
}
</style>
</head>
<body>
<div class="container">
<div>Hello</div>
</div>
</body>
<!--<script></script>-->
<!--<script src="scripts.js" type="text/javascript"></script>-->
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment