Hacker News new | ask | show | jobs
by pcwalton 4044 days ago
I like the translateY(-50%) trick. But yeah, it is a pain point. Hence flexbox.
1 comments

People always suggest margin auto but at least for me having defined heights for elements is the very rare exception.