Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pcwalton
on May 22, 2015
|
parent
|
context
|
favorite
| on:
Solved by Flexbox
I like the translateY(-50%) trick. But yeah, it is a pain point. Hence flexbox.
Touche
on May 23, 2015
[–]
People always suggest margin auto but at least for me having defined heights for elements is the very rare exception.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: