milohuang / reverie

Reverie is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
http://theakiba.com/reverie/
MIT License
918 stars 196 forks source link

Update HTML5 Boilerplate / viewport meta tag #242

Open nickbouton opened 10 years ago

nickbouton commented 10 years ago

Few small issues. Apparently the current version of HTML5 BP now uses the following viewport meta tag:

<meta name="viewport" content="width=device-width, initial-scale=1">

Notice the initial-scale=1 in there - I was having trouble with Reverie scaling & iOS devices in landscape mode until I added that in there. Looks like it's part of the current boilerplate but not in the one used by Reverie.

Also, super minor, but the j.mp link in the comment prior to the viewport meta tag is busted (I noticed this when trying to figure out the reasoning for the lack of initial-scale.)

For more info, reasoning for re-instating it in the HTML5 BP defaults is here: https://github.com/h5bp/mobile-boilerplate/issues/140

If you still want to include it (it's not in the current boilerplate), the new link should go to: https://github.com/h5bp/html5-boilerplate/issues/37

Cheers, -nick