Skip to content

Instantly share code, notes, and snippets.

@rnarian
Created March 11, 2014 09:20
Show Gist options
  • Save rnarian/9482244 to your computer and use it in GitHub Desktop.
Save rnarian/9482244 to your computer and use it in GitHub Desktop.
“minimal-ui” mode hides the bottom navigation and shrinks the address bar of mobile Safari. To enable it, add minimal-ui to the viewport meta tag. Safaris button navigation will only be visible, when the user taps the address bar. This is especially important if a website has a navigation at the bottom of the page, as one would have to tap twice…
<meta name="viewport" content="minimal-ui">
<meta name="viewport" content="width=device-width,minimal-ui">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment