Center a DIV with Pure CSS

This CSS Snippet will place the DIV at the centre of a page. The div is centered both horizontally and vertically without requiring any jQuery or JavaScript. Credit: RawCode.io

Centre DIV with CSS