Skip to content

Instantly share code, notes, and snippets.

@SirPolaris
Created September 28, 2021 14:04
Show Gist options
  • Select an option

  • Save SirPolaris/bb45dfff3a078bf10b7580597b0d1d77 to your computer and use it in GitHub Desktop.

Select an option

Save SirPolaris/bb45dfff3a078bf10b7580597b0d1d77 to your computer and use it in GitHub Desktop.
Template HTML for Ottawa Bus Signage
<html>
<head>
<style>
* {
margin: 0;
padding: 0;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
html,
body {
background: #0099ff;
width: 480px;
height: 648px;
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
div {
width: 480px;
height: 648px;
border-color: rgba(107, 106, 106, 0.212);
border-style: solid;
align-items: center;
justify-content: center;
}
h1 {
font-size: 18px;
line-height: 40px;
color: #fff;
margin: 0;
text-align: center;
}
h4 {
font-size: 15px;
color: #fff;
padding: 1em;
margin: 0;
text-align: center;
}
</style>
</head>
<body>
<div>
<h1>Design Ottawa's Digital Future</h1>
<h1>480 x 648</h1>
<h4>Design Ottawa's Next Bus Stop ->
Template out whatever you can fit in 480 x 640 pixels in HTML. Using only black and white!</h4>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment