Skip to content

Instantly share code, notes, and snippets.

@webbower
Created October 22, 2014 17:40
Show Gist options
  • Save webbower/03855450c9e52097d6df to your computer and use it in GitHub Desktop.
Save webbower/03855450c9e52097d6df to your computer and use it in GitHub Desktop.
CSS absolute center
/* http://frontendbabel.info/articles/css-tricks-by-wargaming/ */
.abs-center {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment