safari mobile navigation bar breaks layout css code example
Example: ios safari controls cover element
window.onresize = function() { document.body.height = window.innerHeight;}window.onresize(); // called to initially set the height.
window.onresize = function() { document.body.height = window.innerHeight;}window.onresize(); // called to initially set the height.