Is there any equivalent to Android's <meta name='viewport' content='target-densitydpi=device-dpi'> for Safari on the iPhone?

前端 未结 3 1893
陌清茗
陌清茗 2020-12-13 22:09

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 de

3条回答
  •  温柔的废话
    2020-12-13 22:17

    It seems that there's no target-densitydpi in safari. For what contents in Viewport of safari, look Configuring the Viewport.

提交回复
热议问题