div * {margin-top:auto; margin-bottom:auto;}
No-Library (pure JS), HTML, CSS, JavaScript
One line of JavaScript