Skip to content

Instantly share code, notes, and snippets.

@jlleblanc
Created February 5, 2018 22:41
Show Gist options
  • Save jlleblanc/e4691cdb4669fcd3b0c95b81684b2a00 to your computer and use it in GitHub Desktop.
Save jlleblanc/e4691cdb4669fcd3b0c95b81684b2a00 to your computer and use it in GitHub Desktop.
A centerpiece for new browser windows
<!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">
<style>
#centerpiece {
position: absolute;
width: 99%;
height: auto;
top: 47%;
margin-top: -10px;
text-align: center;
font-size: 5em;
}
</style>
</head>
<body>
<div id="centerpiece">🌅</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment