Posted By

fuelishways on 06/19/14


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Beppoi


viewport


 / Published in: HTML
 

This will set the view on all screens at a 1×1 aspect ratio and remove the default functionality from iPhones and other smartphone browsers which render websites at full-view and allow users to zoom into the layout by pinching.

  1. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  2. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  3. <meta name="HandheldFriendly" content="true">
  4. </head>

Report this snippet  

You need to login to post a comment.