Permalink
Browse files

Add `initial-scale=1` to meta viewport

iOS 6 fixes the infamous orientation change bug, so a better experience
is provided by reintroducing `initial-scale=1`.
  • Loading branch information...
Snugug authored and necolas committed Jun 30, 2013
1 parent 8fc2650 commit ff37dba6bf025a00f58b2bb12f7c6a827e6643c5
Showing with 2 additions and 2 deletions.
  1. +1 −1 doc/html.md
  2. +1 −1 index.html
View
@@ -92,7 +92,7 @@ Apple developer docs](http://j.mp/mobileviewport). HTML5 Boilerplate comes with
a simple setup that strikes a good balance for general use cases.
```html
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1">
```
## Favicons and Touch Icons
View
@@ -8,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->

1 comment on commit ff37dba

@qgustavor

This comment has been minimized.

Show comment
Hide comment
@qgustavor

qgustavor Feb 23, 2014

Contributor

Funny: H5BP changes a line on the code, I need to recompile all my static pages website.

Contributor

qgustavor commented on ff37dba Feb 23, 2014

Funny: H5BP changes a line on the code, I need to recompile all my static pages website.

Please sign in to comment.