Skip to content

Commit

Permalink
Add initial-scale=1 to meta viewport
Browse files Browse the repository at this point in the history
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 ff37dba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->

Expand Down

1 comment on commit ff37dba

@qgustavor
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.