Skip to content

Instantly share code, notes, and snippets.

Created August 12, 2014 15:53
Show Gist options
  • Save anonymous/c2448d6658cc1a657129 to your computer and use it in GitHub Desktop.
Save anonymous/c2448d6658cc1a657129 to your computer and use it in GitHub Desktop.
A Pen by Jason Pollock.
<div>
<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span>
</div>
div {
width: 250px;
height: 100px;
line-height: 100px;
text-align: center;
border: 1px solid #123456;
}
span {
display: inline-block;
vertical-align: middle;
line-height: normal;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment