Centering and aligning with Flexbox

Centering content in CSS was always quite annoying and sometimes really painful. From abusing the line-height property to hacking with display: table-cell and even using absolute »