mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
tweak note about zoom disabled on mobile
This commit is contained in:
parent
a3b279c556
commit
fb71f40245
1 changed files with 1 additions and 1 deletions
2
css.html
2
css.html
|
@ -30,7 +30,7 @@ base_url: "../"
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
<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>
|
<p>You can disable zooming capabilities on mobile devices by adding <code>user-scalable=no</code> to the viewport meta tag. This disables zooming, meaning users are only able to scroll, and results in your site feeling a bit more like a native application. Overall we don't recommend this on every site, so use caution!</p>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
Loading…
Reference in a new issue