Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
arik-so
9y ago
0 comments
Share
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.
0 comments
default
newest
oldest
mediumdeviation
9y 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
9y ago
Or you can throw this in a table and be done with it.
Godel_unicode
9y ago
Haven't you heard? Only noobs use tables. Also your design totally won't scale and isn't internet grade :)
brianwawok
9y ago
IE8 support brotha
Bahamut
9y ago
iOS does, but it is a bit funky sometimes and has some weird bugs.
zajd
9y ago
http://codepen.io/shshaw/full/gEiDt
j
/
k
navigate · click thread line to collapse