When setting meta name='viewport' content='target-densitydpi=device-dpi'
, the Android browser and Opera Mobile treats a CSS pixel as a device pixel on my device, leaving my stylesheets unmolested.
Is there any equivalent feature that works in Safari on the iPhone?
On my already mobile-friendly, high-DPI-optimized, media-query-powered web application, I'd really appreciate if the browser left my stylesheets alone.
(My full viewport declaration looks like this: meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no; target-densitydpi=device-dpi'
)
check this link my be that's help you https://docs.google.com/present/view?id=dkx3qtm_22dxsrgcf4
You can write like this
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
check this link also https://www.davidbcalhoun.com/2010/the-viewport-metatag-mobile-web-part-1/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With