]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add information on how to disable mobile zoom to the docs
authorGabriele Cirulli <gabrycir@gmail.com>
Wed, 14 Aug 2013 20:08:17 +0000 (22:08 +0200)
committerGabriele Cirulli <gabrycir@gmail.com>
Wed, 14 Aug 2013 20:08:17 +0000 (22:08 +0200)
css.html

index 0ad11fae2fd1711a5968cc6fc5d7bea817047327..1a74e3b7bc6adee3dda8b333680f97c91da3591d 100644 (file)
--- a/css.html
+++ b/css.html
@@ -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>