Skip to content

Instantly share code, notes, and snippets.

@charlottetan
Last active October 16, 2016 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charlottetan/8afc853bce41010b0d00e3c23eb29634 to your computer and use it in GitHub Desktop.
Save charlottetan/8afc853bce41010b0d00e3c23eb29634 to your computer and use it in GitHub Desktop.
Display Picture
<div>
<i class="fa fa-coffee"></i>
</div>
html {
height: 100%;
}
body {
background: #b5d4d1;
color: #473d31;
font-size: 14em;
height: 100%;
}
div {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment