Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Vertically centered on Chrome Mac as well. Safari (and IE) still requires a vendor prefix to use flexbox, but with that added, it works in Safari as well:

https://jsfiddle.net/k281a8v0/



Congratulations, yours is the first solution I've seen that actually works.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: