diff options
| author | Gabriele Cirulli <[email protected]> | 2013-08-14 22:08:17 +0200 |
|---|---|---|
| committer | Gabriele Cirulli <[email protected]> | 2013-08-14 22:08:17 +0200 |
| commit | fb6bd757df2a066d0effab5a1eafca05ffe8e50e (patch) | |
| tree | 85414a7ecfc5d310ae8a05d087ccf357b452a9fa | |
| parent | 3890ab3987a4fb0027fbfcafe1d6e3f31c9fcf4a (diff) | |
| download | bootstrap-fb6bd757df2a066d0effab5a1eafca05ffe8e50e.tar.xz bootstrap-fb6bd757df2a066d0effab5a1eafca05ffe8e50e.zip | |
add information on how to disable mobile zoom to the docs
| -rw-r--r-- | css.html | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,6 +30,10 @@ base_url: "../" {% 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> <p>Images in Bootstrap 3 can be made responsive-friendly via the addition of the <code>.img-responsive</code> class. This applies <code>max-width: 100%;</code> and <code>height: auto;</code> to the image so that it scales nicely to the parent element.</p> |
