Back to blog

Viewport meta tag: minimal-ui

18 March 2014

Tags: , ,


A property, minimal-ui, has been added for the viewport meta tag key that allows minimizing the top and bottom bars on the iPhone as the page loads. While on a page usingminimal-ui, tapping the top bar brings the bars back. Tapping back in the content dismisses them again.

For example, use

<meta name=”viewport” content=”width=1024, minimal-ui”>

[iphone only] [ios7.1 only] [safari only]