mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 11:42:23 +01:00
improve the "zoom disabled" documentation
This commit is contained in:
parent
fb6bd757df
commit
a3b279c556
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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user