Vertically Centering with Flexbox

Vertically centering sibling child contents is a task we’ve long needed on the web but has always seemed way more difficult than it should be.  We initially used tables to accomplish the task, then moved on to CSS and JavaScript tricks because table layout was horribly inefficient — yet it seemed that tables were the […]
The post Vertically Centering with Flexbox appeared first on David Walsh Blog.

Link: https://davidwalsh.name/vertical-center-flexbox