Skip to content

Instantly share code, notes, and snippets.

@fwon
Created September 1, 2014 03:06
Show Gist options
  • Save fwon/2ed223854a14ef37d1f7 to your computer and use it in GitHub Desktop.
Save fwon/2ed223854a14ef37d1f7 to your computer and use it in GitHub Desktop.
垂直居中
<div style="display:table-cell; vertical-align:middle"><img></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment