Y
Hacker News
new
|
ask
|
show
|
jobs
by
tomhschmidt
3732 days ago
Gotta be #responsive
1 comments
arik-so
3732 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.
link
mediumdeviation
3732 days ago
Modern iOS should support flexbox, which should get you what you want with a few lines of CSS.
http://caniuse.com/#feat=flexbox
link
kough
3732 days ago
Or you can throw this in a table and be done with it.
link
Godel_unicode
3732 days ago
Haven't you heard? Only noobs use tables. Also your design totally won't scale and isn't internet grade :)
link
brianwawok
3732 days ago
IE8 support brotha
link
Bahamut
3732 days ago
iOS does, but it is a bit funky sometimes and has some weird bugs.
link
zajd
3732 days ago
http://codepen.io/shshaw/full/gEiDt
link