mirror of
https://github.com/twbs/bootstrap.git
synced 2025-07-31 19:00:23 +02:00
improve the "zoom disabled" documentation
This commit is contained in:
2
css.html
2
css.html
@@ -30,7 +30,7 @@ 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>
|
||||
<p>You can disable zooming capabilities on mobile devices by adding <code>user-scalable=no</code> to the viewport meta tag. This way, your mobile users will only be able to scroll, and it will result in your app feeling a bit more like the rest of the applications that you could find on the device.</p>
|
||||
{% highlight html %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
{% endhighlight %}
|
||||
|
Reference in New Issue
Block a user