ios - Foundation - 5 iPhone 6 website being shown in desktop version -


i building website using foundation 5, when viewed on iphone 6 or 6+ shows desktop version , that's easy understand.

however best way/best practice stick mobile view if (iphone 4 or 5)?

if using foundation sass, go settings file , uncomment line in media query section reads:

// $small-range: (0em, 40em) 

the iphone 6 screen 23.4383em x 41.688em, , iphone 6 plus screen 25.875em x 46.125em. if change $small-range go higher 46.125em should keep @ mobile view on iphones.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -