Hacker News new | ask | show | jobs
by arik-so 3727 days ago
Exactly! My first attempt was just 10 lines of HTML code, but it was a real pain to do the vertical centering on iOS. So I tried a Bootstrap template, saw that even they didn't do the centering on iOS, but was too lazy to change it back.
2 comments

Modern iOS should support flexbox, which should get you what you want with a few lines of CSS. http://caniuse.com/#feat=flexbox
Or you can throw this in a table and be done with it.
Haven't you heard? Only noobs use tables. Also your design totally won't scale and isn't internet grade :)
IE8 support brotha
iOS does, but it is a bit funky sometimes and has some weird bugs.