A CodePen by Shaw. Absolute Centering - Perfect horizontal AND vertical centering in CSS, at any width or height! 

Works with percentage based width/height, min-/max- width, images, position: fixed and even variable content heights.