Absolute Horizontal And Vertical Centering In CSS

Published: August 9, 2013
Link: http://coding.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/
Excerpt: “We’ve all seen margin: 0 auto; for horizontal centering, but margin: auto; has refused to work for vertical centering… until now! But actually (spoiler alert!) absolute centering only requires a declared (variable) height and these styles:”

Tagged with:
Posted in CSS