add information on how to disable mobile zoom to the docs

This commit is contained in:
Gabriele Cirulli 2013-08-14 22:08:17 +02:00
parent 3890ab3987
commit fb6bd757df
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ base_url: "../"
<p>To ensure proper rendering and touch zooming, <strong>add the viewport meta tag</strong> to your <code>&lt;head&gt;</code>.</p>
{% highlight html %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% endhighlight %}
<p>You can disable zooming capabilities on mobile devices by adding <code>user-scalable=no</code> to the viewport meta tag.</p>
{% highlight html %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
{% endhighlight %}
<h3 id="overview-responsive-images">Responsive images</h3>