How to change the meta viewport based on device resolution? we can use media queries to target different resolution screens how can set different viewport?
like my demo site works ok in iPad with this meta tag
<meta name="viewport" content="width=device-width, user-scalable=no,initial-scale=1, maximum-scale=1, minimum-scale=1" />
but for iphone4 I need this
<meta name="viewport" content="width=device-width, user-scalable=no,initial-scale=.5, maximum-scale=.5, minimum-scale=.5" />
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…