The Best Way To Vertically Center with CSS

If there is one thing that’s truly annoying in CSS, it’s trying to vertically center an element inside a parent. You’d think vertical-align:center would work, but normally it doesn’t. display:table-cell often has other issues that need working out. So where does that leave us? Enter transform. Most people only think to use transform to rotate […]