Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
arik-so
· 10y ago · 0 comments
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.
Comments
[–]
mediumdeviation
10y ago
Modern iOS should support flexbox, which should get you what you want with a few lines of CSS.
http://caniuse.com/#feat=flexbox
[–]
kough
10y ago
Or you can throw this in a table and be done with it.
[–]
Godel_unicode
10y ago
Haven't you heard? Only noobs use tables. Also your design totally won't scale and isn't internet grade :)
[–]
brianwawok
10y ago
IE8 support brotha
[–]
Bahamut
10y ago
iOS does, but it is a bit funky sometimes and has some weird bugs.
[–]
zajd
10y ago
http://codepen.io/shshaw/full/gEiDt